package com.dx.mes.common.bean.def;

//import static com.def.GenericDef.E_XPUNPACK_SLOT_NO_IN_MTRL_EXIST;

/* 基类
 * 定义基本的代码:表对应代码,错误代码 */
public class GenericDef {
	/**
	 * Usage: import static com.def.GenericDef.*;
	 */

	/**
	 * List 1. 通用常量 2. Com db item def 3. Db return error 4. Table error def 3**
	 * 5. Trx name def 6. Trx errot def 1** 7. Event cate 8. Basic check error
	 */

	/**
	 * 1. 通用常量定义
	 */
	public static final long _NORMAL = 0;
	public static final long _ERROR = -1;

	public static final String _YES = "Y";
	public static final char _YES_C = 'Y';
	public static final String _NO = "N";
	public static final String _NO_50 = "NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN";
	public static final String _NO1_50 = "00000000000000000000000000000000000000000000000000";
	public static final char _NO_C = 'N';
	public static final String _OK = "OK";
	public static final String _NG = "NG";
	public static final String _OKB = "OB";
	public static final String _GK = "GK"; // 管控
	public static final String _LZ = "LZ"; // 留滞
	public static final String _SC = "SC"; // 报废
	public static final String _RW = "RW";
	public static final String _RM = "RM";

	public static final String _MIX = "MIX";

	public static final String TRX_OUT = "O";
	public static final String TRX_IN = "I";

	public static final String RETURN_CODE_OK = "0000000";
	public static final String RETURN_CODE_DEF = "rtn_code";
	public static final String RETURN_CODE_DEF_XML = "<" + RETURN_CODE_DEF + ">" + RETURN_CODE_OK + "</" + RETURN_CODE_DEF + ">";
	public static final String RETURN_MESG_OK = "SUCCESS";
	public static final String RETURN_CODE_UNKNOWN = "9999999";
	public static final String RETURN_CODE_SET_ERROR = "9999998";
	public static final String RETURN_UNKNOWN_ERROR = "9999997";
	public static final String RETURN_NULL_ERROR = "9999996";
	
	public static final String _SPACE0 = "";
	public static final String _SPACE = _SPACE0;

	public static final char ACTION_FLG_QUERY = 'Q';
	public static final char ACTION_FLG_SEARCH = 'S';
	public static final char ACTION_FLG_UPDATE = 'U';
	public static final char ACTION_FLG_UPDATEP = 'P';
	public static final char ACTION_FLG_ADD = 'A';
	public static final char ACTION_FLG_DELETE = 'D';
	public static final char ACTION_FLG_DELETEITEM = 'M';
	public static final char ACTION_FLG_RELEASE = 'R';
	public static final char ACTION_FLG_BINDSOID = 'B';
	public static final char ACTION_FLG_CHECK = 'C';
	public static final char ACTION_FLG_REGISTER = 'R';
	public static final char ACTION_FLG_JUDGE = 'J';
	
	public static final char ACTION_FLG_QUERYITEM = 'E';
	public static final char ACTION_FLG_INQUIRE = 'I';
	public static final char ACTION_FLG_NEW = 'N';// 新增
	public static final char ACTION_FLG_REPLACE = 'R';// 更新
	public static final char ACTION_FLG_CANCEL = 'C';// 删除
	public static final char ACTION_FLG_LIST_WHOLE = 'L';// 查询全表
	public static final char ACTION_FLG_FILTER_DISTINCT = 'F';
	public static final char ACTION_FLG_LIST_BY_PATH = 'P';// 根据工艺路线查询站点信息
	public static final char ACTION_FLG_LIST_SWH = 'S';// 查询重工途程
	public static final char ACTION_FLG_SWH_WHOLE = 'G';
	public static final char ACTION_FLG_BY_MDL = 'M';
	public final static char ACTION_FLG_QUERY_BY_WO_ID = 'W'; 
	public static final char ACTION_FLG_QUERY_BY_RUN_MODE = 'H';
	public static final char ACTION_FLG_MOVEIN_QUERY='O';
	public static final char ACTION_FLG_PRDINFO_QUERY= 'J';
	public static final char ACTION_FLG_FIFO= 'F';

	public static final char ACTION_FLG_BCCHECK_LOGIN= 'K';
	public static final char ACTION_FLG_BCCHECK_PAGE ='N';
	public static final char ACTION_FLG_BCCHECK_BTN  ='M';

	
	
	public static final String JBIC_BOX_SET_CODE = "JBIC";// 减薄来料设定的箱子设定代码
	
	public static final char ACTION_FLG_QUERY_ALL = 'E';// liufang add query all
	/**
	 * 2. Com db item def
	 */
	/*--- Dest shop def ---*/
	// public static final String DEST_SHOP_WIP = "3000";
	public static final String DEST_SHOP_BANK_FLG_NO_WIP = "1";
	public static final String DEST_SHOP_BANK_FLG_WIP = "2";

	/*--- Sheet panel type ---*/
	public static final String PRD_TYPE_SHEET = "S";
	public static final String PRD_TYPE_PANEL = "P";
	public static final String PRD_TYPE_LOT = "L";

	/*--- Path type ---*/
	public static final String PATH_TYPE_MAIN = "MAN";
	public static final String PATH_TYPE_REWK = "REK";
	public static final String PATH_TYPE_REPR = "REP";
	public static final String PATH_TYPE_SAMP = "SMP";
	public static final String PATH_TYPE_OQC = "OQC";
	public static final String PATH_TYPE_SORT = "SOR";
	/*--- Process status ---*/
	public static final String PROC_IN_PROCESS = "INPR";
	public static final String PROC_WAIT = "WAIT";
	public static final String PROC_WFRL = "WFRL";
	public static final String PROC_RELS = "RELS";
	public static final String PROC_END = "LTED";
	public static final String PROC_LOT_OUT = "LTOT";
	public static final String PROC_HOLD = "HOLD";
	public static final String PROC_SCRP = "SCRP";
	public static final String PROC_SHIP = "SHIP";
	public static final String PROC_SHTC = "SHTC";
	public static final String PROC_COMPLETE = "COMP";
	public static final String PROC_EMPTY = "EMPT";
	public static final String PROC_STB_COMP = "STBC";
	public static final String PROC_RMWI = "RMWI"; // RMA WAIT FOR PRD IN
	public static final String PROC_RMPI = "RMPI"; // RMA PRD IN
	public static final String PROC_OUT  = "OUT";
	public static final String PROC_RTCS = "RTCS";

	/*--- Dense status ---*/                    
	public static final String  DENSE_STAT_OUT        =  "OUT"   ;
	public static final String  DENSE_STAT_RTCS       =  "RTCS"  ;
	public static final String  DENSE_STAT_SCRP       =  "SCRP"  ;
	public static final String  DENSE_STAT_IN_PROCESS =  "IN"    ;
	public static final String  DENSE_STAT_EMPTY      =  "EMPT"  ;
	
	/*--- Wo status ---*/
	public static final String WO_STATUS_HOLD = "HOLD";
	public static final String WO_STATUS_CLOS = "CLOS";
	public static final String WO_STATUS_WAIT = "WAIT";
	public static final String WO_STATUS_RLSE = "RLSE";
	public static final String WO_STATUS_COMP = "COMP";
	public static final String WO_STATUS_SHTC = "SHTC";

	/*--- Tool  ---*/
	public static final String TOOL_UNIT_MAIN = "MAIN";
	public static final String TOOL_UNIT_UNIT = "UNIT";
	public static final String TOOL_UNIT_PART = "PART";

    public static final String TOOL_CATE_MEAS = "MEAS";//量测
    public static final String TOOL_CATE_STOC = "STOC";//Stocker
    public static final String TOOL_CATE_PROC = "PROC";//制程
    
    //设备控制模式
    public static final String TOOL_CTRL_MODE_CONT = "CONT";
    public static final String TOOL_CTRL_MODE_MANUAL = "MANU";
    public static final String TOOL_CTRL_MODE_MONITOR = "MONI";
    
	public static final String TOOL_TYPE_COMMONE = "C";
	public static final String TOOL_TYPE_IDENPENDENT = "I";

	public static final String TOOL_STAT_DOWN = "DOWN";
	public static final String TOOL_STAT_IDLE = "IDLE";
	public static final String TOOL_STAT_RUN = "RUN";
	public static final String TOOL_STAT_ENG = "ENG";
	public static final String TOOL_STAT_PM = "PM";
	
	/*--- Stocker ---*/
	public static final String STOCKER_STAT_DOWN = "DOWN";
	
	/*-- casette empty flag ---*/
	public static final String EMPTY_CARRIER = "Y";
	public static final String EXIST_CARRIER = "N";

	/*--- AMS -----*/
	public static final String ALARM_MAIL = "M";
	public static final String ALARM_PHONE = "P";
	public static final String ALARM_SMS = "S";

	/*--- SWITCH -----*/
	public static final String SWH_TYP_REWORK = "R";
	public static final String SWH_TYP_BRANCH = "B";
	public static final String SWH_TYP_SWITCH = "S";

	public static final String PATH_FRST_OPE = "FRST";

	/*---- Rule action ---*/
	public static final String RUL_ACT_REWORK_OUT = "RWKO";

	/*---- Bank flg ---*/
	public static final String BANK_IN = "1";
	public static final String WIP_BANK_IN = "2";
	public static final String BANK_OUT = "0";
	public static final String WIP_REATIN = "3";

	/*---- Lot split ---*/
	public static final String LOT_SPLIT_0 = "00";
	public static final String LOT_SPLIT_1 = "01";

	public static final String LOT_MIX = "MIX";

	/*---- PM & PDA CHEKC ---*/
	public static final String MLDP_PDA = "01";
	public static final String MLDP_PM = "02";

	public static final String EVT_MTRL_IN = "MTIN";
	public static final String EVT_MTRL_OUT = "MTOT";

	/*---- DPS ---*/
	public static final String DPS_CATE_LEVEL_1 = "M";
	public static final String DPS_CATE_LEVEL_2 = "S";
	public static final String DPS_CATE_LEVEL_3 = "T";
	public static final String DPS_CATE_LEVEL_4 = "F";

	public static final String DPS_ACTION_4100 = "L";
	public static final String DPS_ACTION_4200 = "F";
	public static final String DPS_ACTION_WH_IN = "R";

	/*---- MDL CATE ---*/
	public static final String MDL_CATES = "ABC";
	public static final String MDL_CATE_JB = "A";
	public static final String MDL_CATE_DM = "B";
	public static final String MDL_CATE_QG = "C";

	/*---- BOX CATE ---*/
	public static final String PPBOX = "PPBX";
	public static final String PPBOX_CATE = "P";
	public static final String DENSEBOX_CATE = "D";

	/*---- BOX STAT ---*/
	public static final String BOX_STAT_WAIT = "WAIT";

	/*----Bank Define*/
	public static final String ENDBANK = "ENBNK01";
	public static final String STARTBANK = "STBNK01";
	public static final String SHIPBANK = "SHPBNK01";
	public static final String WHBANK = "WHBANK";
	/**
	 * Ret_crt_no Type
	 */
	public static final String PPBOX_TYPE = "B";
	public static final String LOT_TYPE = "L";
	public static final String PALLET_TYPE = "P";
	
	/**
	 * Port type
	 */
	public static final String LOAD_PORT_TYPE = "L";
	public static final String UNLOAD_PORT_TYPE = "U";
	public static final String COMMON_PORT_TYPE = "C";

	/**
	 * Box Category
	 */
	public static final String BOX_CATE_WCST = "WCST";
	public static final String BOX_CATE_DNSE = "DNSE";
	public static final String BOX_CATE_PPBX = "PPBX";
	
	/**
	 * Tool Run Mode
	 */
	public static final String TOOL_RUN_MODE_UPK = "UPK";
	public static final String TOOL_RUN_MODE_BM = "BM";
	public static final String TOOL_RUN_MODE_PACK = "PACK";
	public static final String TOOL_RUN_MODE_INS = "INS";
	public static final String TOOL_RUN_MODE_ITO = "ITO";
	/**
	 * Tool Port Status
	 */
	public static final String PORT_STAT_LDRQ = "LDRQ";
	public static final String PORT_STAT_LDCM = "LDCM";
	public static final String PORT_STAT_UDRQ = "UDRQ";
	public static final String PORT_STAT_UDCM = "UDCM";

	/**
	 * ABN Action Category
	 */
	public static final String ABN_ACTION_SCRAP = "SCRP";
	public static final String ABN_ACTION_HOLD = "HOLD";
	
	
	/**
	 * edc report data count
	 */
	public static final long SINGLE_ROW_EDC_DATA_CNT = 100;
	
	/**
	 * Uas prop cate
	 */
	public static final String PROP_CATE_OPE  = "OPE";
	public static final String PROP_CATE_TOOL = "TOOL";
	public static final String PROP_CATE_DEST = "DEST";
	
	public static final String GROUP_ADMIN_FLG = "ADMINUSR";

	/**
	 * BOX OWN
	 */
	public static final String BOX_OWN_CF  = "CF";
	/**
	 * LR Empty Status
	 */
	public static final String EMPT_STAT_EMPT= "EMPT";
	public static final String EMPT_STAT_FULL = "FULL";
	public static final String EMPT_STAT_CBAK="CBAK";
	public static final String EMPT_STAT_PARTIAL="HALF";
	/**
	 * LR PR Status
	 */
	public static final String STAT_HOLD = "HOLD";
	public static final String STAT_ICE = "ICE";
	public static final String STAT_SCRP = "SCRP";
	public static final String STAT_WAIT = "WAIT";
	public static final String STAT_WARM = "WARM";
	public static final String STAT_INUSE = "INPR";
	public static final String STAT_OUT = "OUT";
	public static final String STAT_WH_OUT="OUT";
	public static final String STAT_WH_IN="IN";
	public static final String STAT_RTWH = "RTWH";
	/**
	 * LR Position
	 */
	public static final String POS_WH = "WH";
	public static final String POS_STBK = "STBK";
	public static final String POS_OUT = "OUT";
	public static final String POS_WARM = "WARM";
	public static final String POS_ICE = "ICE";
	public static final String DATA_CATE="MQRS";
	/**
	 * LR WH Position
	 */
	public static final String WH_POS_OUT = "OUT";
	public static final String WH_POS_FAB = "FAB";
	/**
	 * Material Category
	 */
	public static final String MTRL_CATE_BARE = "BARE";
	public static final String MTRL_CATE_LR = "LR";
	public static final String MTRL_CATE_MASK = "MASK";
	/**
	 * 3. DB 基本报错
	 */
	public static final long E_READ_NOT_FOUND = 2;
	public static final long SQL_OTHER_ERROR = 9;
	public static final long E_ADD_EXIST = 31;
	public static final long E_DELETE_NOT_FOUND = 32;
	public static final long E_UPDATE_NOT_FOUND = 33;
	public static final long E_COMMIT_FAULT = 71;
	public static final long E_ROLLBACK_FAULT = 72;
	public static final long E_GET_NEXT_SEQUENCE_FAIL = 90;

	/**
	 * 4. 表对应错误代码
	 */
	public static final long E_RET_PROD_INFO = 3000100;
	public static final long E_BIS_DATA = 3000200;
	public static final long E_BIS_MDL_DEF = 3000300;
	public static final long E_BIS_LAYOT = 3000400;
	public static final long E_BIS_LAYOT_LC = 3000500;
	public static final long E_RET_WO = 3000600;
	public static final long E_RET_BOX = 3000700;
	public static final long E_RET_TOOL_ST = 3000800;
	public static final long E_BIS_TOOL = 3000900;
	public static final long E_BIS_M_LABEL = 3004500;
	public static final long E_BIS_M_ITEM = 3001000;
	public static final long E_BIS_M_BOUND = 3001100;
	public static final long E_RET_TOOL_PM = 3001200;
	public static final long E_RET_TOOL_CHK = 3001300;
	public static final long E_BIS_MTRL = 3001400;
	public static final long E_RET_PRD_IN = 3001500;
	public static final long E_BIS_PATH = 3001600;
	public static final long E_BIS_PATHI = 3001700;
	public static final long E_BIS_OPE = 3001800;
	public static final long E_BIS_TOOL_GR = 3001900;
	public static final long E_RET_PRD_INFO = 3002000;
	public static final long E_BIS_BOM = 3002100;
	public static final long E_RET_PRD_GRD_INFO = 3004000;

	public static final long E_AMS_RET_TOOL_RPT_ALM = 3002100;
	public static final long E_AMS_BIS_ALM_INFO = 3002200;
	public static final long E_AMS_BIS_ALM_GR = 3002300;
	public static final long E_AMS_BIS_AGTG_R = 3002400;
	public static final long E_AMS_BIS_INFO_DATA = 3002500;
	public static final long E_AMS_RET_TOOL_HBT = 3002600;
	public static final long E_HIS_AMS_TOOL_ALM = 3002700;
	public static final long E_BIS_PATH_SWH = 3002800;
	public static final long E_RET_PRD_OUT = 3002900;

	public static final long E_RET_PRD_ABN = 3003000;
	public static final long E_RET_PRD_SCRP = 3003100;
	public static final long E_HIS_RET_PRD_INFO = 3003200;
	public static final long E_RET_PRD_INDT = 3003300;
	public static final long E_RET_SHIP_NOTICE = 3003400;
	public static final long E_RET_MTRL = 3003500;
	public static final long E_BIS_PAM = 3003600;
	public static final long E_RET_PROD_LOT = 3003700;

	public static final long E_RET_WO_DPS = 3003800;
	public static final long E_RET_PRD_INFO_SHTC = 3003900;
	public static final long E_RET_CUS_PRD_IN = 3004100;
	public static final long E_RET_MASK_TOOL = 3004200;
	public static final long E_RET_TOOL_PT = 3004300;
    public static final long E_RET_BOX_XFR = 3004400;

    public static final long E_BIS_STOCKER = 3004600;
    public static final long E_RET_STOCKER_ST = 3004700;
    public static final long E_RET_STOCKER_PT = 3004800;
    public static final long E_RET_STOCKER_ZN = 3004900;
    public static final long E_RET_STOCKER_PTN = 3005000;
    
    public static final long E_RET_RUL_VER = 3005100;
    public static final long E_RET_RUL_SO = 3005200;
    public static final long E_RET_RUL_SET = 3005300;
    public static final long E_RET_RUL_APLY = 3005400;   
    
    public static final long E_BIS_USER = 3005500;
    public static final long E_RET_PALLET = 3005600;
	public static final long  E_BIS_CUS_LOC= 3005700;
	public static final long E_BIS_UAS_GRP = 3005800;
	/**
	 * 5. Trx name def
	 */
	public static final String T_FBPBOXMAG = "FBPBOXMAG";
	public static final String T_FBPMDLDEF = "FBPMDLDEF";
	public static final String T_FBPBISOPE = "FBPBISOPE";
	public static final String T_FBPBISDAT = "FBPBISDAT";
	public static final String T_FBPBISPTH = "FBPBISPTH";
	public static final String T_FBPBISMTR = "FBPBISMTR";
	public static final String T_FBPBISBOM = "FBPBISBOM";
	public static final String T_FIPLSTOPE = "FIPLSTOPE";
	public static final String T_FBPBISCUS = "FBPBISCUS";
	public static final String T_FBPBISTOL = "FBPBISTOL";
	public static final String T_FBPBISLAY = "FBPBISLAY";

	
	public static final String T_FBPBISPAM = "FBPBISPAM";
	public static final String T_FBPBISSTK = "FBPBISSTK";
	public static final String T_FBPMITEML = "FBPMITEML";
	
	public static final String T_FSPBOXCHG = "FSPBOXCHG";
	public static final String T_FSPWOCHG = "FSPWOCHG";
	public static final String T_FSPSKIPOPE = "FSPSKIPOPE";
	public static final String T_FSPPNLJGE = "FSPPNLJGE";
	public static final String T_FSPPRDSCRP = "FSPPRDSCRP";
	public static final String T_FSPBOXOPE = "FSPBOXOPE";
	public static final String T_FSPBOXHLD = "FSPBOXHLD";
	
	public static final String T_FPPMOVEIN = "FPPMOVEIN";
	public static final String T_FPPIWIPEQ = "FPPIWIPEQ";
	public static final String T_FPPPNLOUT = "FPPPNLOUT";
	public static final String T_FPPMOVEOUT = "FPPMOVEOUT";
	public static final String T_FPPWHSOPE = "FPPWHSOPE";
	public static final String T_FPPVRFYPRO = "FPPVRFYPRO";
	public static final String T_FPPPRDOTIN = "FPPPRDOTIN";
	public static final String T_FPPPANELDEF= "FPPPANELDEF";
	
	public static final String T_FDPAPLYWO = "FDPAPLYWO";
	public static final String T_FDPAPLYSO = "FDPAPLYSO";
	public static final String T_FDPAPLYDN = "FDPAPLYDN";
	public static final String T_FPPUPKCLM = "FPPUPKCLM";

	public static final String T_FWPWMSOPE = "FWPWMSOPE";
	public static final String T_FTPTOLOPE = "FTPTOLOPE";
	public static final String T_FTPTOLALARM = "FTPTOLALARM";
	public static final String T_FTPTOLRELA = "FTPTOLRELA";
	public static final String T_FPPFORCEIN = "FPPFORCEIN";
	public static final String T_FTPLRMAG = "FTPLRMAG";
	public static final String T_FQPEDCDAT = "FQPEDCDAT";
	public static final String T_FPPWKPOCLM = "FPPWKPOCLM";
	public static final String T_FRPCUSCMPL = "FRPCUSCMPL";

	public static final String T_FSPGRDCHG = "FSPGRDCHG";
	public static final String T_FSPBOXCHGDEF = "FSPBOXCHGDEF";
	public static final String T_FSPWIPBNK = "FSPWIPBNK";
	
	public static final String T_FAPUASGRP = "FAPUASGRP";

	public static final String T_FRPOQCRPT = "FRPOQCRPT";
	public static final String T_FRPIQCRPT = "FRPIQCRPT";

	public static final String T_FRPMASKRPT = "FRPMASKRPT";
	/**
	 * For RTD
	 */
	public static final String T_FRPLWIPEQ = "FRPLWIPEQ";
	public static final String T_FRPXFRCFG = "FRPXFRCFG";
	public static final String T_FRPLSTSTC = "FRPLSTSTC";
	public static final String T_FRPIQCRRX = "FRPIQCRRX";
	public static final String T_FRPUPDPOS = "FRPUPDPOS";
	public static final String T_FRPSTKALT = "FRPSTKALT";
	public static final String T_FRPCRRPIC = "FRPCRRPIC";
	public static final String T_FRPLSTCRR = "FRPLSTCRR";
	public static final String T_FRPCLZONE = "FRPCLZONE";
	public static final String T_FRPCLPATI = "FRPCLPATI";
	public static final String T_FRPXFRHIS = "FRPXFRHIS";
	public static final String T_FRPGBGCLN = "FRPGBGCLN";
	public static final String T_FRPSTOBAL = "FRPSTOBAL";
	public static final String T_FRPCLEQPTN = "FRPCLEQPTN";
	public static final String T_FRPCRRLOD = "FRPCRRLOD";
	public static final String T_FRPCRRULD = "FRPCRRULD";
	public static final String T_FRPCRRNXT = "FRPCRRNXT";
	public static final String T_FRPLSRLVR = "FRPLSRLVR";
	public static final String T_FRPLSRLAP = "FRPLSRLAP";
	public static final String T_FRPLSRLSO = "FRPLSRLSO";
	public static final String T_FRPLSRLST = "FRPLSRLST";
	public static final String T_FRPMKRLST = "FRPMKRLST";
	public static final String T_FRPMKRLAP = "FRPMKRLAP";
	
	public static final String T_FRPIQSTIN = "FRPIQSTIN";
	public static final String T_FRPCLMSTA = "FRPCLMSTA";
	public static final String T_FRPCLMPOS = "FRPCLMPOS";
	public static final String T_FRPCEQPST = "FRPCEQPST";
	public static final String T_FRPCEQPAL = "FRPCEQPAL";
	public static final String T_FRPREPINV = "FRPREPINV";
	public static final String T_FRPUPLPTN = "FRPUPLPTN";
	
	public static final String T_FRPCLMXFR = "FRPCLMXFR";
	public static final String T_FRPCLMCAN = "FRPCLMCAN";
	public static final String T_FRPSCAMHS = "FRPSCAMHS";
	public static final String T_FRPREQINV = "FRPREQINV";


	/*public static final String T_XPINQPALT = "XPINQPLT";
	public static final String T_XPCLOGOF = "XPCLOGOF";
	public static final String T_XPANNOUN = "XPANNOUN";
	public static final String T_XPAPLYSO = "XPAPLYSO";
	public static final String T_XPAPLYWO = "XPAPLYWO";
	public static final String T_XPAPLYDN = "XPAPLYDN";
	public static final String T_XPTOOLOPE = "XPTOOLOPE";
	public static final String T_XPTOOLCHK = "XPTOOLCHK";
	public static final String T_XPWHSOPE = "XPWHSOPE";
	public static final String T_XPWMSOPE = "XPWMSOPE";
	public static final String T_XPINQBOX = "XPINQBOX";
	public static final String T_XPUNPACK = "XPUNPACK";
	public static final String T_XPMOVEIN = "XPMOVEIN";
	public static final String T_XPMOVEOUT = "XPMOVEOUT";
	public static final String T_XPPNLOUT = "XPPNLOUT";
	public static final String T_XPINQCOD = "XPINQCOD";
	public static final String T_XPIWIPEQ = "XPIWIPEQ";
	public static final String T_XPREWORK = "XPREWORK";
	public static final String T_XPSWITCH = "XPSWITCH";
	public static final String T_XPBOXHLD = "XPBOXHLD";
	public static final String T_XPPRDSCRP = "XPPRDSCRP";
	public static final String T_XPBOXCHG = "XPBOXCHG";
	public static final String T_XPBISCUS = "XPBISCUS";
	public static final String T_XPSTARTPROC = "XPSTARTPROC";
	public static final String T_XPCUTOPE = "XPCUTOPE";
	public static final String T_XPQCOPE = "XPQCOPE";
	public static final String T_XPLSTEQP = "XPLSTEQP";
	public static final String T_XPPNLJGE = "XPPNLJGE";
	public static final String T_XPPMCHK = "XPPMCHK";
	public static final String T_XPDEFECT = "XPDEFECT";
	public static final String T_XPWHMTRL = "XPWHMTRL";
	public static final String T_XPSKIPOPE = "XPSKIPOPE";
	public static final String T_XPWIPBANK = "XPWIPBANK";
	public static final String T_XPWIPRETAIN = "XPWIPRETAIN";
	public static final String T_XPINQDEF = "XPINQDEF";
	public static final String T_XPCNPNLOUT = "XPCNPNLOUT";
	public static final String T_XPWOCHG = "XPWOCHG";
	public static final String T_XPRMA = "XPRMA";
	public static final String T_AMSHBT = "AMSHBT";
	public static final String T_AMSMAIN = "AMSMAIN";
	public static final String T_XPSPCRET = "XPSPCRET";
	public static final String T_XPAMSSEND = "XPAMSSEND";

	public static final String T_AMSHBTWD = "AMSHBTWD";
	public static final String T_AMSSENDER = "AMSSENDER";
	public static final String T_AMSTHICKNESS = "AMSTHICKNESS";
	public static final String T_AMSDMIC = "AMSDMIC";
	public static final String T_AMSICGOOD = "AMSICGOOD";
	public static final String T_AMSZJ = "AMSZJ";
	public static final String T_AMSLZGRADE = "AMSLZGRADE";
	public static final String T_AMSNGGRADE = "AMSNGGRADE";
	public static final String T_AMSLOTBROKEN = "AMSLOTBROKEN";*/
	/**
	 * 6.Trx errot def
	 */
	public static final long E_XPLSTDAT = 1000100;
	public static final long E_XPLSTDAT_OTHER_ERROR = E_XPLSTDAT + 1;
	
	public static final long E_FBPBOXMAG = 1000200;
	public static final long E_FBPBOXMAG_IN_USED = E_FBPBOXMAG + 1;
	public static final long E_FBPBOXMAG_BOX_ALREADY_EXIST = E_FBPBOXMAG + 2;
	
	public static final long E_FBPBISBOM = 1000200;
	public static final long E_FBPBISBOM_IN_USED = E_FBPBISBOM + 1;
	public static final long E_FBPBISBOM_BOM_ALREADY_EXIST = E_FBPBISBOM + 2;
	
	public static final long E_FBBISOPE = 1000300;
	
	public static final long E_FBPBISMTR = 1000400;
	public static final long E_FBPBISMTR_NOT_FOUND = E_FBPBISMTR + 1;
	public static final long E_FBPBISMTR_ALREADY_EXIST = E_FBPBISMTR + 2;
	
	public static final long E_FBPBISQRS = 1000500;
	public static final long E_XPBISQRS_ALREADY_EXIST = E_FBPBISQRS + 2;
	
	public static final long E_FBPBISPTH = 1000600;
	public static final long E_FBPBISPTH_NOT_FOUND = E_FBPBISPTH + 1;
	public static final long E_FBPBISPTH_ALREADY_EXIST = E_FBPBISQRS + 2;
	public static final long E_FBPBISPTH_ITEM_ALREADY_EXIST = E_FBPBISQRS + 3;
	public static final long E_FBPBISPTH_ITEM_NOT_FOUND = E_FBPBISQRS + 4;
	
	public static final long E_FBPBISLAY = 1000700;
	public static final long E_FBPBISLAY_NOT_FOUND_RECORD = E_FBPBISLAY + 1;
	public static final long E_FBPBISLAY_ADD_LAYOUT_ALREADY_EXIST = E_FBPBISLAY + 2;
	
	public static final long E_FBPBISTOL = 1000800;
	public static final long E_FBPBISTOL_NOT_FOUND_RECORD = E_FBPBISTOL + 1;
	public static final long E_FBPBISTOL_ADD_TOOL_ALREADY_EXIST = E_FBPBISTOL + 2;
	
	public static final long E_FBPSWHPTH = 1000900;
	public static final long E_FBPSWHPTH_RECORD_ALREADY_EXIST = E_FBPSWHPTH + 1;
	public static final long E_FBPSWHPTH_NOT_FOUND_RECORD = E_FBPSWHPTH + 2;
	public static final long E_FBPSWHPTH_SWH_PATH_NOT_EXIST = E_FBPSWHPTH + 3;
	public static final long E_FBPSWHPTH_OUT_PATH_NOT_EXIST = E_FBPSWHPTH + 4;
	public static final long E_FBPSWHPTH_OTHER_ERR = E_FBPSWHPTH + 99;
	
	public static final long E_FSPBOXCHG = 1001000;
	public static final long E_FSPBOXCHG_INVALID_INPUT = E_FSPBOXCHG + 1;
	public static final long E_FSPBOXCHG_NEW_BOX_ID_NULL = E_FSPBOXCHG + 2;
	public static final long E_FSPBOXCHG_OLD_BOX_ID_NULL = E_FSPBOXCHG + 3;
	public static final long E_FSPBOXCHG_INVALID_OLD_BOX_STAT = E_FSPBOXCHG + 4;
	public static final long E_FSPBOXCHG_INVALID_NEW_BOX_STAT = E_FSPBOXCHG + 5;
	public static final long E_FSPBOXCHG_OLD_BOX_REAL_EMPT_CHK_NG = E_FSPBOXCHG + 6;
	public static final long E_FSPBOXCHG_NEW_BOX_REAL_EMPT_CHK_NG = E_FSPBOXCHG + 7;
	public static final long E_FSPBOXCHG_DIFF_BOX_ADMIN_FLG_WHEN_CHANGE_WO = E_FSPBOXCHG + 8;
	public static final long E_FSPBOXCHG_NO_PRD_IN_OLD_BOXG = E_FSPBOXCHG + 9;
	public static final long E_FSPBOXCHG_NO_PRD_IN_NEW_BOXG = E_FSPBOXCHG + 10;
	public static final long E_FSPBOXCHG_BOX_SLOT_CHK_FAILED = E_FSPBOXCHG + 11;
	
	public static final long E_FIPINQBOX = 1001100;
	public static final long E_FIPINQBOX_INVALID_INPUT = E_FIPINQBOX + 1;
	public static final long E_FIPINQBOX_INVALID_INPUT_BOX_ID = E_FIPINQBOX + 2;
	public static final long E_FIPINQBOX_INVALID_INPUT_WO_ID = E_FIPINQBOX + 3;
	public static final long E_FIPINQBOX_INVALID_INPUT_TOOL_PORT_ID = E_FIPINQBOX + 5;
	public static final long E_FIPINQBOX_READ_SHT_ERROR = E_FIPINQBOX + 4;
	
	public static final long E_FIPINQSHT = 1001200;
	public static final long E_FIPINQSHT_INVALID_INPUT = E_FIPINQSHT + 1;
	public static final long E_FIPINQSHT_READ_SHT_ERROR = E_FIPINQSHT + 2;
	
	public static final long E_FPPMOVEIN = 1001300;
	public static final long E_FPPMOVEIN_TOOL_ID_EMPTY = E_FPPMOVEIN + 1;
	public static final long E_FPPMOVEIN_TOOL_UNIT_TYPE_INVALIED = E_FPPMOVEIN + 2;
	public static final long E_FPPMOVEIN_TOOL_STATUS_INVALIED = E_FPPMOVEIN + 3;
	public static final long E_FPPMOVEIN_BOX_ID_EMPTY = E_FPPMOVEIN + 4;
	public static final long E_FPPMOVEIN_BOX_STATUS_INVALIED = E_FPPMOVEIN + 5;
	public static final long E_FPPMOVEIN_TOOL_RUN_MODE_NOT_MATCH = E_FPPMOVEIN + 6;
	public static final long E_FPPMOVEIN_BOX_AND_PRD_COUNT_NOT_MATCH = E_FPPMOVEIN + 7;
	public static final long E_FPPMOVEIN_SHT_STATUS_INVALIED = E_FPPMOVEIN + 8;
	public static final long E_FPPMOVEIN_SHT_MIX_NX_PATH_ID = E_FPPMOVEIN + 9;
	public static final long E_FPPMOVEIN_SHT_MIX_NX_PATH_VER = E_FPPMOVEIN + 10;
	public static final long E_FPPMOVEIN_SHT_MIX_NX_OPE_NO = E_FPPMOVEIN + 11;
	public static final long E_FPPMOVEIN_SHT_MIX_NX_OPE_ID = E_FPPMOVEIN + 12;
	public static final long E_FPPMOVEIN_SHT_MIX_NX_OPE_VER = E_FPPMOVEIN + 13;
	public static final long E_FPPMOVEIN_SHT_MIX_NX_PROC_ID = E_FPPMOVEIN + 14;
	public static final long E_FPPMOVEIN_SHT_MIX_NX_TOOLG_ID = E_FPPMOVEIN + 15;
	public static final long E_FPPMOVEIN_SHT_MIX_NX_TOOL_ID = E_FPPMOVEIN + 16;
	public static final long E_FPPMOVEIN_INVALIED_DATA_SET_PRST = E_FPPMOVEIN + 17;
	public static final long E_FPPMOVEIN_BOX_OPE_NOT_MATCH = E_FPPMOVEIN + 18;
	public static final long E_FPPMOVEIN_PRD_OPE_NOT_MATCH = E_FPPMOVEIN + 19;
	public static final long E_FPPMOVEIN_PRD_IN_WIP_BNK = E_FPPMOVEIN + 20;
	public static final long E_FPPMOVEIN_PROC_CHANGE_NOT_WIP_IN_OUT = E_FPPMOVEIN + 21;

	public static final long E_FPPIWIPEQ = 1001400;
	public static final long E_FPPIWIPEQ_INVALID_BOX_STAT = E_FPPIWIPEQ + 1;
	public static final long E_FPPIWIPEQ_INVALID_INPUT = E_FPPIWIPEQ + 2; 
	public static final long E_FPPIWIPEQ_INVALID_NX_PROCESS = E_FPPIWIPEQ + 3; 
	public static final long E_FPPIWIPEQ_NO_WIP = E_FPPIWIPEQ + 4;
	
	public static final long E_FPPPNLOUT = 1001400;
	public static final long E_FPPPNLOUT_BOX_INVALIED = E_FPPPNLOUT + 1;
	public static final long E_FPPPNLOUT_BOX_IS_FULL = E_FPPPNLOUT + 2;
	public static final long E_FPPPNLOUT_BOX_NOT_REAL_EMPT = E_FPPPNLOUT + 3;
	public static final long E_FPPPNLOUT_BOX_WILL_FULL = E_FPPPNLOUT + 4;
	public static final long E_FPPPNLOUT_INVALID_BOX_STATUS = E_FPPPNLOUT + 5;
	public static final long E_FPPPNLOUT_INVALID_CNT = E_FPPPNLOUT + 6;
	public static final long E_FPPPNLOUT_INVALIED_PRD_STAT = E_FPPPNLOUT + 7;
	public static final long E_FPPPNLOUT_PRD_ALREADY_IN_BOX = E_FPPPNLOUT + 8;
	public static final long E_FPPPNLOUT_PRD_CNT_INVALIED = E_FPPPNLOUT + 9;
	public static final long E_FPPPNLOUT_PRD_LIST_NULL = E_FPPPNLOUT + 10;
	public static final long E_FPPPNLOUT_INPUT_ITEM_EMPT = E_FPPPNLOUT + 11;
	public static final long E_FPPPNLOUT_TOOL_RUN_MODE_NOT_MATCH = E_FPPPNLOUT + 12;
	public static final long E_FPPPNLOUT_TOOL_STATUS_INVALIED = E_FPPPNLOUT + 13;
	public static final long E_FPPPNLOUT_PRD_IS_OUT = E_FPPPNLOUT + 14;
	public static final long E_FPPPNLOUT_SLOT_IS_NOT_EMPTY = E_FPPPNLOUT + 15;
	public static final long E_FPPPNLOUT_MTRL_BOX_ERROR = E_FPPPNLOUT + 16;

	
	public static final long E_FPPMOVEINCANCEL = 1001500;
	public static final long E_FPPMOVEINCANCEL_BOX_ID_EMPTY = E_FPPMOVEINCANCEL + 1;
	public static final long E_FPPMOVEINCANCEL_BOX_STATUS_INVALIED = E_FPPMOVEINCANCEL + 2;
	public static final long E_FPPMOVEINCANCEL_PRD_COUNT_NOT_MATCH = E_FPPMOVEINCANCEL + 3;
	public static final long E_FPPMOVEINCANCEL_PRD_STATUS_INVALIED = E_FPPMOVEINCANCEL + 4;
	public static final long E_FPPMOVEINCANCEL_OPE_ID_NOT_MATCH = E_FPPMOVEINCANCEL + 5;
	public static final long E_FPPMOVEINCANCEL_OPE_VER_NOT_MATCH = E_FPPMOVEINCANCEL + 6;
	public static final long E_FPPMOVEINCANCEL_PATH_ID_NOT_MATCH = E_FPPMOVEINCANCEL + 7;
	public static final long E_FPPMOVEINCANCEL_PATH_VER_NOT_MATCH = E_FPPMOVEINCANCEL + 8;
	public static final long E_FPPMOVEINCANCEL_PROCESS_ID_NOT_MATCH = E_FPPMOVEINCANCEL + 9;
	public static final long E_FPPMOVEINCANCEL_TOOL_RUN_MODE_NOT_MATCH = E_FPPMOVEINCANCEL + 10;
	public static final long E_FPPMOVEINCANCEL_ALREADY_IN_BOX = E_FPPMOVEINCANCEL + 11;
	public static final long E_FPPMOVEINCANCEL_LOAD_TYPE_NOT_MATCH = E_FPPMOVEINCANCEL + 12;
	public static final long E_FPPMOVEINCANCEL_BOX_POSITION_ERROR = E_FPPMOVEINCANCEL + 13;
	public static final long E_FPPMOVEINCANCEL_BOX_WILL_FULL = E_FPPMOVEINCANCEL + 14;
	public static final long E_FPPMOVEINCANCEL_BOX_IS_FULL = E_FPPMOVEINCANCEL + 15;
	public static final long E_FPPMOVEINCANCEL_PRD_IS_OUT = E_FPPMOVEINCANCEL + 16;

	public static final long E_FBPBISSTO = 1001600;
	public static final long E_FBPBISSTO_NOT_FOUND_RECORDER = E_FBPBISSTO + 1;
	public static final long E_FBPBISSTO_RETSTOCKERPT_NOT_FOUND_RECORDER = E_FBPBISSTO + 2;
	public static final long E_FBPBISSTO_RETSTOCKERZN_NOT_FOUND_RECORDER = E_FBPBISSTO + 3;
	public static final long E_FBPBISSTO_ALREADY_EXIST = E_FBPBISSTO + 4;
	public static final long E_FBPBISSTO_RETSTOCKERPT_ALREADY_EXIST = E_FBPBISSTO + 5;
	public static final long E_FBPBISSTO_RETSTOCKERZN_ALREADY_EXIST = E_FBPBISSTO + 6;
	public static final long E_FBPBISSTO_OTHER_ERR = E_FBPBISSTO + 7;
	
	public static final long E_FPPWHSOPE = 1001800;
	public static final long E_FPPWHSOPE_INVALID_INPUT = E_FPPWHSOPE + 1;
	public static final long E_FPPWHSOPE_INVALID_BOX_STAT = E_FPPWHSOPE+2;
	public static final long E_FPPWHSOPE_BISMTRL_NOT_FOUND = E_FPPWHSOPE+3;
	public static final long E_FPPWHSOPE_BOX_CATE_INVALID = E_FPPWHSOPE+4;
	public static final long E_FPPWHSOPE_MTRL_BOX_FIFO = E_FPPWHSOPE+5;
	
	public static final long E_FPPWORKPOSCLM = 1001700;
	public static final long E_FPPWORKPOSCLM_ALREADY_EXIST = E_FPPWORKPOSCLM +1;
	public static final long E_FPPWORKPOSCLM_INPUT_ITEM_EMPT = E_FPPWORKPOSCLM +2;
	
	public static final long E_FPBISPAM = 1001900;
	public static final long E_FPBISPAM_NOT_FOUND_RECORDER = E_FPBISPAM + 1;
	public static final long E_FPBISPAM_RECORDER_ALREADY_EXIST = E_FPBISPAM + 2;
	public static final long E_FPBISPAM_MDL_NOT_FOUNCT = E_FPBISPAM + 3;
	public static final long E_FPBISPAM_OTHER_ERR = E_FPBISPAM + 4;
	
	
	public static final long E_FBPCUSLOC = 1002000;
	public static final long E_FBPCUSLOC_INVALID_INPUT = E_FBPCUSLOC + 1;
	public static final long E_FBPCUSLOC_ALREADY_EXIST = E_FBPCUSLOC + 2;
	public static final long E_FBPCUSLOC_IS_NOT_FOUND = E_FBPCUSLOC + 3;
	public static final long E_FBPCUSLOC_OTHER_ERROR = E_FBPCUSLOC + 4;
	
	public static final long E_FPPUPKCLM = 1002100;
	public static final long E_FPPUPKCLM_INVALID_INPUT = E_FPPUPKCLM + 1;
	public static final long E_FPPUPKCLM_INPUT_ITEM_EMPT = E_FPPUPKCLM + 2;
	public static final long E_FPPUPKCLM_STATE_ERROR = E_FPPUPKCLM + 3;
	public static final long E_FPPUPKCLM_BOX_IS_FULL = E_FPPUPKCLM + 4;
	public static final long E_FPPUPKCLM_BOX_WILL_FULL = E_FPPUPKCLM + 5;
	public static final long E_FPPUPKCLM_MDL_ID_MIMATCH = E_FPPUPKCLM + 6;
	public static final long E_FPPUPKCLM_WO_ID_MIMATCH = E_FPPUPKCLM + 7;
	public static final long E_FPPUPKCLM_BOX_CATE_ERROR = E_FPPUPKCLM + 8;
	public static final long E_FPPUPKCLM_BOX_POSITION_ERROR = E_FPPUPKCLM + 9;
	
	public static final long E_FDPAPLYWO = 1002200;
	public static final long E_FDPAPLYWO_NOT_FOUND = E_FDPAPLYWO + 1;
	public static final long E_FDPAPLYWO_ALREADY_EXIST = E_FDPAPLYWO + 2;
	public static final long E_FDPAPLYWO_PRTY_ALREADY_EXIST = E_FDPAPLYWO + 3;
	public static final long E_FDPAPLYWO_PRDQTY_ERROR = E_FDPAPLYWO + 4;
	public static final long E_FDPAPLYWO_RLSE_ERROR = E_FDPAPLYWO + 5;
	public static final long E_FDPAPLYWO_STAT_ERROR = E_FDPAPLYWO + 6;
	public static final long E_FDPAPLYWO_OTHER_ERROR = E_FDPAPLYWO + 7;

	public static final long E_FDPAPLYSO = 1002300;
	public static final long E_FDPAPLYSO_NOT_FOUND = E_FDPAPLYSO + 1;
	public static final long E_FDPAPLYSO_ALREADY_EXIST = E_FDPAPLYSO + 2;
	public static final long E_FDPAPLYSO_STAT_ERROR = E_FDPAPLYSO + 3;
	public static final long E_FDPAPLYSO_DELETE_ERROR = E_FDPAPLYSO + 4;
	public static final long E_FDPAPLYSO_BIND_ERROR = E_FDPAPLYSO + 5;
	public static final long E_FDPAPLYSO_OTHER_ERROR = E_FDPAPLYSO + 6;
	public static final long E_FDPAPLYDN = 1002400;
	public static final long E_FDPAPLYDN_NOT_FOUND = E_FDPAPLYDN + 1;
	public static final long E_FTPTOLOPE = 1002500;
	public static final long E_FTPTOLOPE_INVALID_INPUT = E_FTPTOLOPE+1;
	public static final long E_FTPTOLOPE_INVALID_TOOL_STAT = E_FTPTOLOPE+2;
	public static final long E_FTPTOLOPE_INVALID_TOOL_LOCK = E_FTPTOLOPE+3;
	public static final long E_FTPTOLOPE_INVALID_TOOL_RLN_STAT= E_FTPTOLOPE+4;
	public static final long E_FTPTOLOPE_INVALID_TOOL_UNIT_TYPE= E_FTPTOLOPE+5;

	public static final long E_FWPWMSOPE = 1002600;
	public static final long E_FWPWMSOPE_WO_UNMATCH = E_FWPWMSOPE+1;
	public static final long E_FWPWMSOPE_FIND_NO_PANEL_BY_BOX = E_FWPWMSOPE+2;
	public static final long E_FWPWMSOPE_WO_CNT_NOT_ENOUGH = E_FWPWMSOPE+3;
	public static final long E_FWPWMSOPE_SHIP_NOTICE_HOLD = E_FWPWMSOPE+4;
	public static final long E_FWPWMSOPE_SHIP_NOTICE_COMP = E_FWPWMSOPE+5;
	public static final long E_FWPWMSOPE_SHIP_NOTICE_NOT_WAIT = E_FWPWMSOPE+6;
	public static final long E_FWPWMSOPE_DN_NOT_ENOUGH = E_FWPWMSOPE+7;
	public static final long E_FWPWMSOPE_DN_TOO_ENOUGH = E_FWPWMSOPE+8;
	public static final long E_FWPWMSOPE_OTHER_ERROR = E_FWPWMSOPE+9;

	public static final long E_FTPMSKMAG = 1002400;
	public static final long E_FTPMSKMAG_MASK_NOT_EXIST =  E_FTPMSKMAG+1;
	
	public static final long E_FSPPNLJGE = 1002700;
	public static final long E_FSPPNLJGE_INVALID_PRD_STATUE = E_FSPPNLJGE + 1;
	
	public static final long E_FPPVRFYPRO = 1002800;
	public static final long E_FPPVRFYPRO_ITEM_EMPTY = E_FPPVRFYPRO +1;
	public static final long E_FPPVRFYPRO_WIP_WO_UNMATCH = E_FPPVRFYPRO +2;
	public static final long E_FPPVRFYPRO_BOX_STATUE_ERROR = E_FPPVRFYPRO +3;
	public static final long E_FPPVRFYPRO_PRD_QTY_UNMATCH = E_FPPVRFYPRO +4;
	public static final long E_FPPVRFYPRO_BOX_CATE_UNMATCH = E_FPPVRFYPRO +5;
	public static final long E_FPPVRFYPRO_WIP_MTRL_UNMATCH = E_FPPVRFYPRO +6;
	public static final long E_FPPVRFYPRO_TOOL_STATUS_UNMATCH = E_FPPVRFYPRO +7;
	
	public static final long E_FPPFORCEIN= 1002900;
	public static final long E_FPPFORCEIN_BOX_STATUE_ERROR = E_FPPVRFYPRO +1;
	public static final long E_FPPFORCEIN_PRD_STATUE_ERROR = E_FPPVRFYPRO +2;
	public static final long E_FPPFORCEIN_BOX_PRD_STATUE_ERROR= E_FPPVRFYPRO +3;
	public static final long E_FPPFORCEIN_BOX_SWH_TYP_ERROR= E_FPPVRFYPRO +4;
	public static final long E_FPPFORCEIN_OPE_NOT_FIRST= E_FPPVRFYPRO +5;
	
	public static final long E_FPPEDCDAT = 1003000;
	public static final long E_FPPEDCDAT_ITEM_EMPTY = E_FPPEDCDAT + 1;

	
	public static final long E_FTPLRMAG = 1003100;
	public static final long E_FTPLRMAG_LR_NOT_EXIST = E_FTPLRMAG+1;
	public static final long E_FTPLRMAG_LR_ALREADY_EXIST = E_FTPLRMAG+2;
	public static final long E_FTPLRMAG_LR_POS_ERROR = E_FTPLRMAG+3;
	public static final long E_FTPLRMAG_LR_STAT_ERROR = E_FTPLRMAG+4;
	public static final long E_FTPLRMAG_LR_QTIME_ERROR = E_FTPLRMAG+5;
	public static final long E_FTPLRMAG_LR_LOT_ERROR = E_FTPLRMAG +6;
	public static final long E_FTPLRMAG_LR_RPOD_ID_ERROR = E_FTPLRMAG +7;
	public static final long E_FTPLRMAG_LR_IS_SAME = E_FTPLRMAG +8;
	
	public static final long E_FSPWOCHG = 1003200;
	public static final long E_FSPWOCHG_OTHER_ERR = E_FSPWOCHG + 1;
	public static final long E_FSPWOCHG_BANK_FLG_ERR = E_FSPWOCHG + 1;
	
	public static final long E_FSPPRDSCRP  = 1003300;
	public static final long E_FSPPRDSCRP_OTHER_ERR = E_FSPPRDSCRP + 1;
	
	
	public static final long E_FPPMOVEOUT = 1003400;
	public static final long E_FPPMOVEOUT_INPUT_ITEM_EMPT = E_FPPMOVEOUT + 1;
	public static final long E_FPPMOVEOUT_TOOL_UNIT_TYPE_INVALIED = E_FPPMOVEOUT + 2;
	public static final long E_FPPMOVEOUT_TOOL_STATUS_INVALIED = E_FPPMOVEOUT + 3;
	public static final long E_FPPMOVEOUT_BOX_AND_PRD_COUNT_NOT_MATCH = E_FPPMOVEOUT + 4;
	public static final long E_FPPMOVEOUT_BOX_ID_EMPTY = E_FPPMOVEOUT + 5;
	public static final long E_FPPMOVEOUT_BOX_STATUS_INVALIED = E_FPPMOVEOUT + 6;
	public static final long E_FPPMOVEOUT_INVALID_PATH_CATE = E_FPPMOVEOUT + 7;
	public static final long E_FPPMOVEOUT_INVALIED_BNK_FLG = E_FPPMOVEOUT + 8;
	public static final long E_FPPMOVEOUT_IS_DM_WIP_WAIT = E_FPPMOVEOUT + 9;
	public static final long E_FPPMOVEOUT_JUMP_TO_OPE_NOT_EXIST = E_FPPMOVEOUT + 10;
	public static final long E_FPPMOVEOUT_OUT_TOOL_RUN_MODE_UNMATCH = E_FPPMOVEOUT + 11;
	public static final long E_FPPMOVEOUT_SHT_STATUS_INVALIED = E_FPPMOVEOUT + 12;
	public static final long E_FPPMOVEOUT_WO_UNMATCH = E_FPPMOVEOUT + 13;
	public static final long E_FPPMOVEOUT_SWH_OUT_INFO_NOT_FOUND = E_FPPMOVEOUT + 14;
	public static final long E_FPPMOVEOUT_PRD_IS_OUT = E_FPPMOVEOUT + 15;

	
	public static final long E_FPWIPBANKT = 1003500;
	public static final long E_FPWIPBANKT_INVALID_INPUT = E_FPWIPBANKT + 1;
	public static final long E_FPWIPBANKT_INVALIED_BOX = E_FPWIPBANKT + 2;
	public static final long E_FPWIPBANKT_INVALIED_BOX_STAT = E_FPWIPBANKT + 3;
	public static final long E_FPWIPBANKT_INVALIED_BOX_BNK_FLG = E_FPWIPBANKT + 4;
	public static final long E_FPWIPBANKT_BOX_ON_PORT = E_FPWIPBANKT + 5;
	
	public static final long E_FPPPRDOTIN = 1003600;
	public static final long E_FPPPRDOTIN_STATUS_INVALID = E_FPPPRDOTIN + 1;
	public static final long E_FPPPRDOTIN_PRD_IS_OUT = E_FPPPRDOTIN + 2;
	public static final long E_FPPPRDOTIN_IP_ADDRESS_INVALID = E_FPPPRDOTIN + 2;

	public static final long E_FSPBOXOPE = 1003700;
	public static final long E_FSPBOXOPE_STATUS_INVALID = E_FPPPRDOTIN + 1;
	public static final long E_FSPBOXOPE_FLAG_INVALID = E_FPPPRDOTIN + 2;


	public static final long E_FSPBOXHLD = 1003800;
	public static final long E_FSPBOXHLD_STATUS_INVALID = E_FSPBOXHLD + 1;
	public static final long E_FSPBOXHLD_INVALID_INPUT = E_FSPBOXHLD + 2;
	public static final long E_FSPBOXHLD_BOX_ID_EMPTY = E_FSPBOXHLD + 3;
	public static final long E_FSPBOXHLD_BOX_BANK_IN = E_FSPBOXHLD + 4;
	public static final long E_FSPBOXHLD_HOLD_RLSE_SORT = E_FSPBOXHLD + 5;
	public static final long E_FSPBOXHLD_PRD_NOT_EXIST= E_FSPBOXHLD+6;


	public static final long E_FSPGRDCHG = 1003900;
	public static final long E_FSPGRDCHG_STATUS_MISMATCH = E_FSPGRDCHG + 1;
	public static final long E_FSPGRDCHG_PATH_CATE_MISMATCH = E_FSPGRDCHG + 2;
	public static final long E_FSPGRDCHG_TOOL_RUN_MODE_MISMATCH = E_FSPGRDCHG + 3;
	public static final long E_FSPGRDCHG_BOX_NOT_HAVE_PRD = E_FSPGRDCHG + 4;
	public static final long E_FSPGRDCHG_PRD_GRADE_MIX = E_FSPGRDCHG + 5;


	
    public static final long E_FSPSKIPOPE = 1004000;
    public static final long E_FSPSKIPOPE_INVALID_BOX_STATUS = E_FSPSKIPOPE + 1;
	public static final long E_FSPSKIPOPE_PATH_NOT_FOUND 	 = E_FSPSKIPOPE + 2;
	public static final long E_FSPSKIPOPE_INVALID_PATH       = E_FSPSKIPOPE + 3;

	public static final long E_FPPANELDEF = 1004100;
	public static final long E_FPPANELDEF_ADD_ALREADY_EXIST = E_FPPANELDEF +1;


	public static final long E_FAPUASGRP=11;
	public static final long E_FAPUASGRP_DATA_EMPTY = E_FAPUASGRP +1;
	public static final long E_FAPUASGRP_GRP_BIND_FUNC = E_FAPUASGRP +2;
	public static final long E_FAPUASGRP_GRP_EMPRT  = E_FAPUASGRP +1;
	/**
	 * For RTD
	 */
	public static final long E_FRPLWIPEQ = 1005100;
	public static final long E_FRPLWIPEQ_INVALID_INPUT = E_FRPLWIPEQ + 1;
	
	public static final long E_FRPCEQPAL = 1005200;
	public static final long E_FRPCEQPAL_INVALID_INPUT = E_FRPCEQPAL + 1;
	public static final long E_FRPCEQPAL_ITEM_EMPTY = E_FRPCEQPAL + 2;
	
	public static final long E_FRPUPLPTN = 1005300;
	public static final long E_FRPUPLPTN_INVALID_INPUT = E_FRPUPLPTN + 1;
	public static final long E_FRPUPLPTN_ITEM_EMPTY = E_FRPUPLPTN + 2;
	
	public static final long E_FRPREPINV = 1005400;
	public static final long E_FRPREPINV_INVALID_INPUT = E_FRPREPINV + 1;
	public static final long E_FRPREPINV_ITEM_EMPTY = E_FRPREPINV + 2;
	
	public static final long E_FRPREQINV = 1005500;
	public static final long E_FRPREQINV_INVALID_INPUT = E_FRPREQINV + 1;
	public static final long E_FRPREQINV_ITEM_EMPTY = E_FRPREQINV + 2;
	
    public static final long E_FRPCLMPOS = 1005600;
    public static final long E_FRPCLMPOS_INVALID_INPUT = E_FRPCLMPOS + 1;
    public static final long E_FRPCLMPOS_ITEM_EMPTY = E_FRPCLMPOS + 2;
    public static final long E_FRPCLMPOS_OLD_DATA = E_FRPCLMPOS + 3;
    
    public static final long E_FRPCEQPST = 1005700;
    public static final long E_FRPCEQPST_INVALID_INPUT = E_FRPCEQPST + 1;
    public static final long E_FRPCEQPST_ITEM_EMPTY = E_FRPCEQPST + 2;
    
    public static final long E_FRPIQCRRX = 1005800;
    public static final long E_FRPIQCRRX_INVALID_INPUT = E_FRPIQCRRX + 1;
    public static final long E_FRPIQCRRX_ITEM_EMPTY = E_FRPIQCRRX + 2;

    public static final long E_FRPUPDPOS = 1005900;
    public static final long E_FRPUPDPOS_INVALID_INPUT = E_FRPUPDPOS + 1;
    public static final long E_FRPUPDPOS_ITEM_EMPTY = E_FRPUPDPOS + 2;
    
    public static final long E_FRPXFRCFG = 1006000;
    public static final long E_FRPXFRCFG_INVALID_INPUT = E_FRPXFRCFG + 1;

    public static final long E_FRPSTKALT = 1007000;
    public static final long E_FRPSTKALT_INVALID_INPUT = E_FRPSTKALT + 1;
    
    public static final long E_FRPCRRPIC = 1008000;
    public static final long E_FRPCRRPIC_INVALID_INPUT = E_FRPCRRPIC + 1;

    public static final long E_FRPLSTSTC = 1009000;
    public static final long E_FRPLSTSTC_INVALID_INPUT = E_FRPLSTSTC + 1;
    
    public static final long E_FRPCLMXFR = 1010000;
    public static final long E_FRPCLMXFR_ITEM_EMPTY = E_FRPCLMXFR + 1;
    public static final long E_FRPCLMXFR_INVALID_INPUT = E_FRPCLMXFR + 2;
    public static final long E_FRPCLMXFR_INVALID_XFR_CMD_FLG = E_FRPCLMXFR + 3;
    public static final long E_FRPCLMXFR_INVALID_TOOL_CTRL_MODE = E_FRPCLMXFR + 4;
    public static final long E_FRPCLMXFR_INVALID_TOOL_STATUS = E_FRPCLMXFR + 5;
    public static final long E_FRPCLMXFR_INVALID_DEST_STOCKER = E_FRPCLMXFR + 6;
    public static final long E_FRPCLMXFR_INVALID_DEST_STOCKER_PORT_USAGE = E_FRPCLMXFR + 7;
    public static final long E_FRPCLMXFR_CARRIER_EXIST_IN_DEST = E_FRPCLMXFR + 8;
    public static final long E_FRPCLMXFR_INVALID_TO_TOOL = E_FRPCLMXFR + 9;

	public static final long E_FTPTOLRELA = 1011000;
	public static final long E_FTPTOLRELA_TOOL_EXSIT = E_FTPTOLRELA+1;
	public static final long E_FTPTOLRELA_TOOL_NOEXSIT = E_FTPTOLRELA+2;

	public static final long E_FTPTOLALARM = 1011100;
	public static final long E_FTPTOLALARM_TOOL_EXSIT = E_FTPTOLRELA+1;
	public static final long E_FTPTOLALARM_TOOL_NOEXSIT = E_FTPTOLRELA+2;

    public static final long E_FRPCLMCAN = 1012000;
    public static final long E_FRPCLMCAN_ITEM_EMPTY = E_FRPCLMCAN + 1;
    public static final long E_FRPCLMCAN_INVALID_XFR_CMD_FLG = E_FRPCLMCAN + 2;
    public static final long E_FRPCLMCAN_INVALID_TRADE_NO = E_FRPCLMCAN + 3;
    public static final long E_FRPCLMCAN_MCS_RETURN_ERROR = E_FRPCLMCAN + 4;

    public static final long E_FRPCLZONE = 1012000;
    public static final long E_FRPCLZONE_INVALID_INPUT = E_FRPCLZONE + 1;
    public static final long E_FRPCLZONE_OVER_SELF = E_FRPCLZONE + 2;
	public static final long E_FTPTOLRELA_TOOL_RATIO = E_FTPTOLRELA+3;
	
    public static final long E_FRPXFRHIS = 1013000;
    public static final long E_FRPXFRHIS_ITEM_EMPTY = E_FRPXFRHIS + 1;

    public static final long E_FQPCHTMN= 1014000;
    public static final long E_FQPCHTMN_ALREDY_EXIST= 1014000+1;
    public static final long E_FQPCHTMN_NOT_FOUND_RECORD= 1014000+2;

    public static final long E_FQPGRPDT= 1015000;
    public static final long E_FQPGRPDT_ALREDY_EXIST= 1015000+1;
    public static final long E_FQPGRPDT_NOT_FOUND_DT= 1015000+2;

    public static final long E_FQPGRPMN= 1016000;
    public static final long E_FQPGRPMN_ALREDY_EXIST= 1016000+1;
    public static final long E_FQPGRPMN_NOT_FOUND_RECORD= 1016000+2;

    public static final long E_FRPLODWDG = 1014000;
    public static final long E_FRPLODWDG_INVALID_TOOL_CTRL_MODE = E_FRPLODWDG + 1;
    public static final long E_FRPLODWDG_INVALID_TOOL_STATUS = E_FRPLODWDG + 2;
    public static final long E_FRPLODWDG_CARRIER_ALREADY_EXIST = E_FRPLODWDG + 3;
    public static final long E_FRPULDWDG_LOAD_REQUEST_ERROR = E_FRPLODWDG + 4;

    public static final long E_FRPULDWDG = 1015000;
    public static final long E_FRPULDWDG_INVALID_TOOL_CTRL_MODE = E_FRPULDWDG + 1;
    public static final long E_FRPULDWDG_INVALID_TOOL_STATUS = E_FRPULDWDG + 2;
    public static final long E_FRPULDWDG_UNLOAD_REQUEST_ERROR = E_FRPULDWDG + 3;

    public static final long E_FRPSTKWDG = 1016000;
    public static final long E_FRPSTKWDG_INVALID_TOOL_CTRL_MODE = E_FRPSTKWDG + 1;
    public static final long E_FRPSTKWDG_INVALID_TOOL_STATUS = E_FRPSTKWDG + 2;
    public static final long E_FRPSTKWDG_GARBAGE_CLEAN_ERROR = E_FRPSTKWDG + 3;
    public static final long E_FRPSTKWDG_STORAGE_BALANCE_ERROR = E_FRPSTKWDG + 4;

    public static final long E_FRPGBGCLN = 1017000;
    public static final long E_FRPGBGCLN_NOT_SET_GARBAGE_CLEAN_TIME = E_FRPGBGCLN + 1;
    public static final long E_FRPGBGCLN_NOT_SET_FOR_STOCKER_IN_ZONE = E_FRPGBGCLN + 2;
    public static final long E_FRPGBGCLN_NO_STORAGE_FOR_STOCKER_IN_ZONE = E_FRPGBGCLN + 3;

    public static final long E_FRPSTOBAL = 1018000;
    public static final long E_FRPSTOBAL_NOT_SET_STORAGE_THRESHOLD = E_FRPSTOBAL + 1;
    public static final long E_FRPSTOBAL_STORAGE_OVER_THRESHOLD = E_FRPSTOBAL + 2;
    public static final long E_FRPSTOBAL_NOT_SET_FOR_STOCKER_IN_ZONE = E_FRPSTOBAL + 3;
    public static final long E_FRPSTOBAL_ZERO_STORAGE_BALANCE = E_FRPSTOBAL + 4;
    public static final long E_FRPSTOBAL_INVALID_RELATION_STOCKER_MODE = E_FRPSTOBAL + 5;
    public static final long E_FRPSTOBAL_INVALID_RELATION_STOCKER_STATUS = E_FRPSTOBAL + 6;
    public static final long E_FRPSTOBAL_NO_PARTITION = E_FRPSTOBAL + 7;
    
    public static final long E_FRPIQSTIN = 1019000;
    public static final long E_FRPIQSTIN_ITEM_EMPTY = E_FRPIQSTIN + 1;
    public static final long E_FRPIQSTIN_INVALID_STOCKER_MODE = E_FRPIQSTIN + 2;
    public static final long E_FRPIQSTIN_INVALID_STOCKER_STATUS = E_FRPIQSTIN + 3;
    public static final long E_FRPIQSTIN_STORAGE_OVER_ZONE_STD_QTY = E_FRPIQSTIN + 4;
    public static final long E_FRPIQSTIN_NOT_SET_FOR_STOCKER_IN_ZONE = E_FRPIQSTIN + 5;
    
    public static final long E_FRPCLEQPTN = 1020000;
    public static final long E_FRPCLEQPTN_INVALID_INPUT = E_FRPCLEQPTN + 1;
    public static final long E_FRPCLEQPTN_ITEM_EMPTY = E_FRPCLEQPTN + 2;
    public static final long E_FRPCLEQPTN_INVALID_LU_MODE = E_FRPCLEQPTN + 3;
    
    public static final long E_FRPCLPATI = 1021000;  
    public static final long E_FRPCLPATI_INVALID_INPUT = E_FRPCLPATI + 1;
    
    public static final long E_FRPCRRLOD = 1022000;  
    public static final long E_FRPCRRLOD_INVALID_INPUT = E_FRPCRRLOD + 1;
    public static final long E_FRPCRRLOD_INVALID_PORT_STATUS = E_FRPCRRLOD + 2;
    public static final long E_FRPCRRLOD_INVALID_AGV_MODE = E_FRPCRRLOD + 3;
    public static final long E_FRPCRRLOD_INVALID_PORT_ACTIVE_FLG = E_FRPCRRLOD + 4;
    public static final long E_FRPCRRLOD_INVALID_LOAD_RTD_FLAG = E_FRPCRRLOD + 5;
    public static final long E_FRPCRRLOD_INVALID_UNLOAD_RTD_FLAG = E_FRPCRRLOD + 6;
    public static final long E_FRPCRRLOD_INVALID_PORT_TYP = E_FRPCRRLOD + 7;
    public static final long E_FRPCRRLOD_NO_PULL_FLAG = E_FRPCRRLOD + 8;
    
    public static final long E_FRPCRRULD = 1023000;  
    public static final long E_FRPCRRULD_INVALID_PORT_STATUS = E_FRPCRRULD + 1;
    public static final long E_FRPCRRULD_INVALID_AGV_MODE = E_FRPCRRULD + 2;
    public static final long E_FRPCRRULD_INVALID_PORT_ACTIVE_FLG = E_FRPCRRULD + 3;
    public static final long E_FRPCRRULD_MULTIPLE_CARRIER_ON_EQUIPMENT_PORT = E_FRPCRRULD + 4;
    public static final long E_FRPCRRULD_UNLOAD_REQUEST_ERROR = E_FRPCRRULD + 8;
    public static final long E_FRPCRRULD_NO_PARTITION = E_FRPCRRULD + 9;
    
    public static final long E_FRPCRRNXT = 1024000;  
    public static final long E_FRPCRRNXT_NOT_SET_RUL_MDL = E_FRPCRRNXT + 1;
    public static final long E_FRPCRRNXT_NOT_SET_RUL_SO = E_FRPCRRNXT + 2;

    public static final long E_FRPLSRLVR = 1025000;
    public static final long E_FRPLSRLVR_INVALID_INPUT = E_FRPLSRLVR + 1; 

    public static final long E_FRPLSRLAP = 1026000;
    public static final long E_FRPLSRLAP_INVALID_INPUT = E_FRPLSRLAP + 1; 

    public static final long E_FRPLSRLSO = 1027000;
    public static final long E_FRPLSRLSO_INVALID_INPUT = E_FRPLSRLSO + 1; 
    
    public static final long E_FRPLSRLST = 1028000;
    public static final long E_FRPLSRLST_INVALID_INPUT = E_FRPLSRLST + 1; 
 
    public static final long E_FRPMKRLST = 1029000;
    public static final long E_FRPMKRLST_INVALID_INPUT = E_FRPMKRLST + 1;
    public static final long E_FRPMKRLST_ACTIVE_DATA_APPLYED = E_FRPMKRLST + 2;
 
    public static final long E_FRPMKRLAP = 1030000;
    public static final long E_FRPMKRLAP_INVALID_INPUT = E_FRPMKRLAP + 1;
    public static final long E_FRPMKRLAP_ITEM_EMPTY = E_FRPMKRLAP + 2;
    public static final long E_FRPMKRLAP_BOTH_SAPCE = E_FRPMKRLAP + 3;
    public static final long E_FRPMKRLAP_BOTH_NOT_SAPCE = E_FRPMKRLAP + 4;
    
    public static final long E_COMMON_RTD = 2001000;
    public static final long E_COMMON_RTD_STOCKER_FULL = E_COMMON_RTD + 1;
    public static final long E_COMMON_RTD_NO_STOCKER = E_COMMON_RTD + 2;
    public static final long E_COMMON_RTD_PARTITION_FULL = E_COMMON_RTD + 3;
    public static final long E_COMMON_RTD_NO_PARTITION = E_COMMON_RTD + 4;
    public static final long E_COMMON_RTD_ZONE_FULL = E_COMMON_RTD + 5;
    public static final long E_COMMON_RTD_NO_ZONE= E_COMMON_RTD + 6;
    public static final long E_COMMON_RTD_NO_SELECT_PARTITION = E_COMMON_RTD + 7;
    public static final long E_COMMON_RTD_IS_SPACE = E_COMMON_RTD + 8;
    public static final long E_COMMON_RTD_SEND_XFR_CMD_ERROR = E_COMMON_RTD + 9;
    public static final long E_COMMON_RTD_CRRNXT_NO_CARRIER = E_COMMON_RTD + 10;
    public static final long E_COMMON_RTD_INVALID_XFR_CMD_FLAG = E_COMMON_RTD + 11; 
    public static final long E_COMMON_RTD_INVALID_PORT_STATUS = E_COMMON_RTD + 12;
    public static final long E_COMMON_RTD_INVALID_AGV_MODE = E_COMMON_RTD + 13; 
    public static final long E_COMMON_RTD_INVALID_PORT_ACTIVE_FLG = E_COMMON_RTD + 14;
    public static final long E_COMMON_RTD_INVALID_PORT_TYPE = E_COMMON_RTD + 15;
    public static final long E_COMMON_RTD_TOOL_ON_WAIT_CONTINUE = E_COMMON_RTD + 16;
    
    public static final long E_COMMON_RTD_SO = 2002000;
    public static final long E_COMMON_RTD_SO_INVALID_TOOL_RUN_MODE = E_COMMON_RTD_SO + 1;

    public static final long E_QUALITY_CUS = 2003000;
	public static final long E_QUALITY_CUS_ALREADY_EXIST = E_QUALITY_CUS+1;
	public static final long E_QUALITY_CUS_NOT_EXIST=E_QUALITY_CUS+2;

//	/**
//	 * 7. Event cate
//	 */
//	public static final String EVT_PNL_UNPACK = "UNPK";// 解封
	/*public static final long E_XPCLOGOF = 1000100;
	public static final long E_XPCLOGOF_SHT_CNT_NOT_MATCH = E_XPCLOGOF + 1;
	public static final long E_XPCLOGOF_REWK_PARENT_INVALID = E_XPCLOGOF + 2;

	public static final long E_XPAPLYSO = 1000200;
	public static final long E_XPAPLYSO_SALES_ORDER_ALREADY_EXIST = E_XPAPLYSO + 1;
	public static final long E_XPAPLYSO_MDL_DEF_NOT_FOUND = E_XPAPLYSO + 2;
	public static final long E_XPAPLYSO_BIS_PATH_NOT_FOUND = E_XPAPLYSO + 3;
	public static final long E_XPAPLYSO_RET_WO_NOT_FOUND = E_XPAPLYSO + 4;
	public static final long E_XPAPLYSO_CLOSE_STAT = E_XPAPLYSO + 5;
	public static final long E_XPAPLYSO_PLN_PRD_QTY_ERROR = E_XPAPLYSO + 6;
	public static final long E_XPAPLYSO_OUT_OF_QTY = E_XPAPLYSO + 7;
	public static final long E_XPAPLYSO_WO_ALREADY_RELEASED = E_XPAPLYSO + 8;
	public static final long E_XPAPLYSO_OTHER_ERROR = E_XPAPLYSO + 9;

	public static final long E_XPAPLYWO = 1000300;
	public static final long E_XPAPLYWO_WORDER_ALREADY_EXIST = E_XPAPLYWO + 1;
	public static final long E_XPAPLYWO_MDL_DEF_NOT_FOUND = E_XPAPLYWO + 2;
	public static final long E_XPAPLYWO_BIS_PATH_NOT_FOUND = E_XPAPLYWO + 3;
	public static final long E_XPAPLYWO_OTHER_ERROR = E_XPAPLYWO + 4;
	public static final long E_XPAPLYWO_CLOSE_STAT = E_XPAPLYWO + 5;
	public static final long E_XPAPLYWO_QUERY_CONDITION_NULL = E_XPAPLYWO + 6;
	public static final long E_XPAPLYWO_QTY_CONSTRAINT = E_XPAPLYWO + 76;
	public static final long E_XPAPLYWO_NOT_BIND_SO = E_XPAPLYWO + 77;*/



	/*public static final long E_XPANNOUN = 1000500;
	public static final long E_XPTOOLOPE = 1000600;
	public static final long E_XPTOOLOPE_INVALID_INPUT = E_XPTOOLOPE + 1;
	public static final long E_XPTOOLOPE_INVALID_NOTALLOW_SPACE = E_XPTOOLOPE + 2;
	public static final long E_XPTOOLOPE_NEW_TIMESTAMP_INVALIED = E_XPTOOLOPE + 3;

	public static final long E_XPBMDLDF = 1000700;
	public static final long E_XPBMDLDF_NOT_FOUND_MDL = E_XPBMDLDF + 1;
	public static final long E_XPBMDLDF_OTHER_ERR = E_XPBMDLDF + 2;

	public static final long E_XPBISOPE = 1000800;
	public static final long E_XPBISOPE_NOT_FOUND_OPE = E_XPBISOPE + 1;
	public static final long E_XPBISOPE_OPE_ALREADY_EXIST = E_XPBISOPE + 2;
	public static final long E_XPBISOPE_OTHER_ERR = E_XPBISOPE + 3;
	public static final long E_XPBISOPE_BIS_PATH_NOT_FOUND = E_XPBISOPE + 4;

	public static final long E_XPBISQRS = 1000800;
	public static final long E_XPBISQRS_NOT_FOUND_QRS = E_XPBISQRS + 1;
	public static final long E_XPBISQRS_QRS_ALREADY_EXIST = E_XPBISQRS + 2;
	public static final long E_XPBISQRS_MDL_NOT_FOUND = E_XPBISQRS + 3;
	public static final long E_XPBISQRS_OTHER_ERR = E_XPBISQRS + 4;

	public static final long E_XPBISMTR = 1000900;
	public static final long E_XPBISMTR_NOT_FOUND_MTRL = E_XPBISMTR + 1;
	public static final long E_XPBISMTR_ALREADY_EXIST = E_XPBISMTR + 2;
	public static final long E_XPBISMTR_OTHER_ERR = E_XPBISQRS + 3;

	public static final long E_XPBISBOM = 1000900;
	public static final long E_XPBISBOM_NOT_FOUND_RECORDER = E_XPBISBOM + 1;
	public static final long E_XPBISBOM_RECORDER_ALREADY_EXIST = E_XPBISBOM + 2;
	public static final long E_XPBISBOM_OTHER_ERR = E_XPBISBOM + 3;

	public static final long E_XPWOTOOL = 1001100;
	public static final long E_XPWOTOOL_NOT_FOUND_RECORDER = E_XPWOTOOL + 1;
	public static final long E_XPWOTOOL_RECORDER_ALREADY_EXIST = E_XPWOTOOL + 2;
	public static final long E_XPWOTOOL_OTHER_ERR = E_XPWOTOOL + 3;

	public static final long E_XPTOOLCHK = 1001200;
	public static final long E_XPTOOLCHK_SPEC_CHK_TYPE_BOUND_INVALID = 1001200 + 1;

	public static final long E_XPBISTOOL = 1001300;
	public static final long E_XPBISTOOL_NOT_FOUND_RECORDER = E_XPBISTOOL + 1;
	public static final long E_XPBISTOOL_RECORDER_ALREADY_EXIST = E_XPBISTOOL + 2;
	public static final long E_XPBISTOOL_OTHER_ERR = E_XPBISTOOL + 3;

	public static final long E_XPBISPAM = 1001400;
	public static final long E_XPBISPAM_NOT_FOUND_RECORDER = E_XPBISPAM + 1;
	public static final long E_XPBISPAM_RECORDER_ALREADY_EXIST = E_XPBISPAM + 2;
	public static final long E_XPBISPAM_MDL_NOT_FOUNCT = E_XPBISPAM + 3;
	public static final long E_XPBISPAM_OTHER_ERR = E_XPBISPAM + 4;

	public static final long E_XPWHSOPE = 1001500;
	public static final long E_XPWHSOPE_INVALID_INPUT = E_XPWHSOPE + 1;
	public static final long E_XPWHSOPE_MTRL_BOX_ALREADY_EXIST = E_XPWHSOPE + 2;
	public static final long E_XPWHSOPE_QUERY_CONDITION_INCALID = E_XPWHSOPE + 3;
	public static final long E_XPWHSOPE_INVALID_USE_CHANGE_TYPE = E_XPWHSOPE + 4;
	public static final long E_XPWHSOPE_FIND_NO_PANEL_BY_BOX = E_XPWHSOPE + 5;
	public static final long E_XPWHSOPE_ADD_UPDATE_WOINFO_FAILED = E_XPWHSOPE + 6;
	public static final long E_XPWHSOPE_BOX_ALREADY_RELEASED = E_XPWHSOPE + 7;
	public static final long E_XPWHSOPE_BOX_NOT_RELEASED = E_XPWHSOPE + 8;
	public static final long E_XPWHSOPE_INVALID_BOX_STAT = E_XPWHSOPE + 9;
	public static final long E_XPWHSOPE_RELEASED_BOX_BACK_ERROR = E_XPWHSOPE + 10;
	public static final long E_XPWHSOPE_WO_PRD_MISMATCH_ERROR = E_XPWHSOPE + 11;
	public static final long E_XPWHSOPE_MTEL_PROD_ID_MISMATCH_ERROR = E_XPWHSOPE + 12;

	public static final long E_XPBISPTH = 1001600;
	public static final long E_XPBISPTH_NOT_FOUND_RECORDER = E_XPBISPTH + 1;
	public static final long E_XPBISPTH_RECORDER_ALREADY_EXIST = E_XPBISPTH + 2;
	public static final long E_XPBISPTH_OTHER_ERR = E_XPBISPTH + 3;
	public static final long E_XPBISPTH_PATH_INFO_NOT_FOUND = E_XPBISPTH + 5;
	public static final long E_XPBISPTH_PATH_ITEM_ALREADY_EXIST = E_XPBISPTH + 6;
	public static final long E_XPBISPTH_PATH_ITEM_NOT_FOUND = E_XPBISPTH + 7;

	public static final long E_XPINQBOX = 1001600;
	public static final long E_XPINQBOX_INVALID_INPUT = E_XPINQBOX + 1;
	public static final long E_XPINQBOX_INVALID_INPUT_BOX_ID = E_XPINQBOX + 2;
	public static final long E_XPINQBOX_READ_SHT_ERROR = E_XPINQBOX + 3;
	public static final long E_XPINQBOX_INVALID_INPUT_WO_ID = E_XPINQBOX + 4;
	public static final long E_XPINQBOX_INVALID_INPUT_FLG_ID = E_XPINQBOX + 5;

	public static final long E_XPUNPACK = 1001700;
	public static final long E_XPUNPACK_INVALID_INPUT = E_XPUNPACK + 1;
	public static final long E_XPUNPACK_INVALID_WO_STATUS = E_XPUNPACK + 2;
	public static final long E_XPUNPACK_INVALID_WO_COUNT = E_XPUNPACK + 3;
	public static final long E_XPUNPACK_INVALID_BOX_STATUS = E_XPUNPACK + 4;
	public static final long E_XPUNPACK_BOX_NOT_REAL_EMPT = E_XPUNPACK + 5;
	public static final long E_XPUNPACK_BOX_INVALIED = E_XPUNPACK + 6;
	public static final long E_XPUNPACK_BOX_IS_FULL = E_XPUNPACK + 7;
	public static final long E_XPUNPACK_PRD_INFO_EXIST = E_XPUNPACK + 8;
	public static final long E_XPUNPACK_PRD_INDT_EXIST = E_XPUNPACK + 9;
	public static final long E_XPUNPACK_PRD_IN_NOT_ENOUGH = E_XPUNPACK + 10;
	public static final long E_XPUNPACK_MTRL_BOX_INVALIED = E_XPUNPACK + 11;
	public static final long E_XPUNPACK_BOX_CNT_INVALIED = E_XPUNPACK + 12;
	public static final long E_XPUNPACK_REAL_EMPT_FLG_INVALIED = E_XPUNPACK + 13;
	public static final long E_XPUNPACK_CREATE_BOX_FAILED = E_XPUNPACK + 14;
	public static final long E_XPUNPACK_MTRL_BOX_ALREADY_EMPT = E_XPUNPACK + 15;
	public static final long E_XPUNPACK_CANCEL_PRD_INFO_STATUS_INVALIED = E_XPUNPACK + 16;
	public static final long E_XPUNPACK_CANCEL_PRD_INFO_CR_PROC_INVALIED = E_XPUNPACK + 17;
	public static final long E_XPUNPACK_SLOT_NO_IN_MTRL_EXIST = E_XPUNPACK + 18;
	public static final long E_XPUNPACK_INVALID_CUS_ID = E_XPUNPACK + 19;
	public static final long E_XPUNPACK_INVALID_PRD_ID = E_XPUNPACK + 20;
	public static final long E_XPUNPACK_INVALID_BOX_ID = E_XPUNPACK + 21;

	public static final long E_XPMLITEM = 1001800;
	public static final long E_XPMLITEM_M_LABEL_ALREADY_EXIST = E_XPMLITEM + 1;
	public static final long E_XPMLITEM_NOT_FOUND_M_LABEL = E_XPMLITEM + 2;
	public static final long E_XPMLITEM_M_ITEM_NOT_FOUND = E_XPMLITEM + 3;

	public static final long E_XPMOVEIN = 1001900;
	public static final long E_XPMOVEIN_TOOL_ID_EMPTY = E_XPMOVEIN + 1;
	public static final long E_XPMOVEIN_TOOL_UNIT_TYPE_INVALIED = E_XPMOVEIN + 2;
	public static final long E_XPMOVEIN_TOOL_STATUS_INVALIED = E_XPMOVEIN + 3;
	public static final long E_XPMOVEIN_BOX_ID_EMPTY = E_XPMOVEIN + 4;
	public static final long E_XPMOVEIN_BOX_STATUS_INVALIED = E_XPMOVEIN + 5;
	public static final long E_XPMOVEIN_BOX_TOOLG_NOT_MATCH = E_XPMOVEIN + 6;
	public static final long E_XPMOVEIN_BOX_AND_PRD_COUNT_NOT_MATCH = E_XPMOVEIN + 7;
	public static final long E_XPMOVEIN_SHT_STATUS_INVALIED = E_XPMOVEIN + 8;
	public static final long E_XPMOVEIN_SHT_MIX_NX_PATH_ID = E_XPMOVEIN + 9;
	public static final long E_XPMOVEIN_SHT_MIX_NX_PATH_VER = E_XPMOVEIN + 10;
	public static final long E_XPMOVEIN_SHT_MIX_NX_OPE_NO = E_XPMOVEIN + 11;
	public static final long E_XPMOVEIN_SHT_MIX_NX_OPE_ID = E_XPMOVEIN + 12;
	public static final long E_XPMOVEIN_SHT_MIX_NX_OPE_VER = E_XPMOVEIN + 13;
	public static final long E_XPMOVEIN_SHT_MIX_NX_PROC_ID = E_XPMOVEIN + 14;
	public static final long E_XPMOVEIN_SHT_MIX_NX_TOOLG_ID = E_XPMOVEIN + 15;
	public static final long E_XPMOVEIN_SHT_MIX_NX_TOOL_ID = E_XPMOVEIN + 16;
	public static final long E_XPMOVEIN_INVALIED_DATA_SET_PRST = E_XPMOVEIN + 17;
	public static final long E_XPMOVEIN_BOX_OPE_NOT_MATCH = E_XPMOVEIN + 18;
	public static final long E_XPMOVEIN_PRD_OPE_NOT_MATCH = E_XPMOVEIN + 19;
	public static final long E_XPMOVEIN_PRD_IN_WIP_BNK = E_XPMOVEIN + 20;
	public static final long E_XPMOVEIN_PROC_CHANGE_NOT_WIP_IN_OUT = E_XPMOVEIN + 21;

	public static final long E_XPMOVEOUT = 1002000;
	public static final long E_XPMOVEOUT_INPUT_ITEM_EMPT = E_XPMOVEOUT + 1;
	public static final long E_XPMOVEOUT_TOOL_UNIT_TYPE_INVALIED = E_XPMOVEOUT + 2;
	public static final long E_XPMOVEOUT_TOOL_STATUS_INVALIED = E_XPMOVEOUT + 3;
	public static final long E_XPMOVEOUT_BOX_AND_PRD_COUNT_NOT_MATCH = E_XPMOVEOUT + 4;
	public static final long E_XPMOVEOUT_SHT_STATUS_INVALIED = E_XPMOVEOUT + 5;
	public static final long E_XPMOVEOUT_OUT_TOOLG_UNMATCH = E_XPMOVEOUT + 6;
	public static final long E_XPMOVEOUT_REWK_PARENT_INVALID = E_XPMOVEOUT + 7;
	public static final long E_XPMOVEOUT_SHT_STAT_INVALIED = E_XPMOVEOUT + 8;
	public static final long E_XPMOVEOUT_SHT_MDL_CATE_MIX = E_XPMOVEOUT + 9;
	public static final long E_XPMOVEOUT_SHT_MDL_ID_MIX = E_XPMOVEOUT + 10;
	public static final long E_XPMOVEOUT_SHT_MDL_TYPE_MIX = E_XPMOVEOUT + 11;
	public static final long E_XPMOVEOUT_SHT_PATH_ID_MIX = E_XPMOVEOUT + 12;
	public static final long E_XPMOVEOUT_SHT_PATH_VER_MIX = E_XPMOVEOUT + 13;
	public static final long E_XPMOVEOUT_SHT_OPE_ID_MIX = E_XPMOVEOUT + 14;
	public static final long E_XPMOVEOUT_SHT_OPE_NO_MIX = E_XPMOVEOUT + 15;
	public static final long E_XPMOVEOUT_SHT_OPE_VER_MIX = E_XPMOVEOUT + 16;
	public static final long E_XPMOVEOUT_SHT_NX_TOOL_MIX = E_XPMOVEOUT + 17;
	public static final long E_XPMOVEOUT_SHT_NX_TOOLG_MIX = E_XPMOVEOUT + 18;
	public static final long E_XPMOVEOUT_LOT_DUPLICATE = E_XPMOVEOUT + 19;
	public static final long E_XPMOVEOUT_JUMP_TO_OPE_NOT_EXIST = E_XPMOVEOUT + 20;
	public static final long E_XPMOVEOUT_INVALIED_BNK_FLG = E_XPMOVEOUT + 21;
	public static final long E_XPMOVEOUT_WO_UNMATCH = E_XPMOVEOUT + 22;
	public static final long E_XPMOVEOUT_PATH_UNMATCH = E_XPMOVEOUT + 23;
	public static final long E_XPMOVEOUT_IS_JB_WIP_WAIT = E_XPMOVEOUT + 24;
	public static final long E_XPMOVEOUT_IS_DM_WIP_WAIT = E_XPMOVEOUT + 25;
	public static final long E_XPMOVEOUT_DUPLICATE_LOT_ID = E_XPMOVEOUT + 26;
	public static final long E_XPMOVEOUT_INOUT_CNT_UNMATCH = E_XPMOVEOUT + 27;
	public static final long E_XPMOVEOUT_INVALID_PATH_CATE = E_XPMOVEOUT + 28;

	public static final long E_XPLAYOUT = 1002100;
	public static final long E_XPLAYOUT_NO_LAYOT_LC_ITEM = E_XPLAYOUT + 1;
	public static final long E_XPLAYOUT_ADD_LAYOUT_ALREADY_EXIST = E_XPLAYOUT + 2;
	public static final long E_XPLAYOUT_NOT_FOUND_LAYOUT_ = E_XPLAYOUT + 3;
	public static final long E_XPLAYOUT_NOT_FOUND_WO = E_XPLAYOUT + 4;
	public static final long E_XPLAYOUT_NOT_FOUND_MDL_ID = E_XPLAYOUT + 5;
	public static final long E_XPLAYOUT_DQR_MDL_ID = E_XPLAYOUT + 6;
	public static final long E_XPLAYOUT_NOT_BIND_SO = E_XPLAYOUT + 7;

	public static final long E_XPPNLOUT = 1002200;
	public static final long E_XPPNLOUT_INVALID_BOX_STATUS = E_XPPNLOUT + 1;
	public static final long E_XPPNLOUT_BOX_INVALIED = E_XPPNLOUT + 2;
	public static final long E_XPPNLOUT_BOX_IS_FULL = E_XPPNLOUT + 3;
	public static final long E_XPPNLOUT_BOX_WILL_FULL = E_XPPNLOUT + 4;
	public static final long E_XPPNLOUT_INVALIED_PRD_STAT = E_XPPNLOUT + 5;
	public static final long E_XPPNLOUT_PRD_ALREADY_IN_BOX = E_XPPNLOUT + 6;
	public static final long E_XPPNLOUT_PRD_LIST_NULL = E_XPPNLOUT + 7;
	public static final long E_XPPNLOUT_BOX_NOT_REAL_EMPT = E_XPPNLOUT + 8;
	public static final long E_XPPNLOUT_PRD_CNT_INVALIED = E_XPPNLOUT + 9;
	public static final long E_XPPNLOUT_PRD_GRADE_JUDGE_INVALIED = E_XPPNLOUT + 10;
	public static final long E_XPPNLOUT_BOX_SET_CODE_INVALIED = E_XPPNLOUT + 11;
	public static final long E_XPPNLOUT_BOX_SET_CODE_NOT_SET = E_XPPNLOUT + 12;
	public static final long E_XPPNLOUT_INVALID_CNT = E_XPPNLOUT + 13;

	public static final long E_XPIWIPEQ = 1002300;
	public static final long E_XPIWIPEQ_INVALID_INPUT = E_XPIWIPEQ + 1;
	public static final long E_XPIWIPEQ_INVALID_NX_PROCESS = E_XPIWIPEQ + 2;
	public static final long E_XPIWIPEQ_NO_WIP = E_XPIWIPEQ + 3;
	public static final long E_XPIWIPEQ_INVALID_BOX_STAT = E_XPIWIPEQ + 4;

	public static final long E_SPCGRPDT = 1002400;
	public static final long E_SPCGRPDT_ALREDY_EXIST = E_SPCGRPDT + 1;
	public static final long E_SPCGRPDT_NOT_FOUND_DT = E_SPCGRPDT + 2;

	public static final long E_SPCGRPMN = 1002500;
	public static final long E_SPCGRPMN_ALREDY_EXIST = E_SPCGRPMN + 1;
	public static final long E_SPCGRPMN_NOT_FOUND_RECORD = E_SPCGRPMN + 2;

	public static final long E_SPCCHTMN = 1002600;
	public static final long E_SPCCHTMN_ALREDY_EXIST = E_SPCCHTMN + 1;
	public static final long E_SPCCHTMN_NOT_FOUND_RECORD = E_SPCCHTMN + 2;

	public static final long E_SPCCHTIN = 1002600;
	public static final long E_SPCCHTIN_ALREDY_EXIST = E_SPCCHTIN + 1;
	public static final long E_SPCCHTIN_NOT_FOUND_RECORD = E_SPCCHTIN + 2;

	public static final long E_AMSHBT = 1002700;
	public static final long E_AMSHBT_INVALID_INPUT = E_AMSHBT + 1;
	public static final long E_AMSHBT_TOOL_ID_IS_NULL = E_AMSHBT + 2;
	public static final long E_AMSHBT_EVT_USER_IS_NULL = E_AMSHBT + 3;
	public static final long E_AMSHBT_PLN_ALM_CNT_NULL = E_AMSHBT + 4;
	public static final long E_AMSHBT_PLN_ALM_CNT_INVALIED = E_AMSHBT + 5;
	public static final long E_AMSHBT_IARY_CNT_NULL = E_AMSHBT + 6;
	public static final long E_AMSHBT_IARY_CNT_INVALIED = E_AMSHBT + 7;
	public static final long E_AMSHBT_IARY_CNT_UNMATCH = E_AMSHBT + 8;

	public static final long E_AMSSENDER = 1002800;
	public static final long E_AMSSENDER_ALM_MAIL_RECIVER_NULL = E_AMSSENDER+1;
	public static final long E_AMSSENDER_INVALID_INPUT = E_AMSSENDER+2;
	public static final long E_AMSSENDER_ALM_NO_SMS_RECIVER = E_AMSSENDER+3;
	public static final long E_AMSSENDER_ALM_NO_PHONE_RECIVER = E_AMSSENDER+4;
	public static final long E_AMSSENDER_ALM_NO_MAIL_RECIVER = E_AMSSENDER+5;
	public static final long E_AMSSENDER_ALM_GROUP_NOT_ACTIVE = E_AMSSENDER+6;
	public static final long E_AMSSENDER_TOOL_ID_IS_NULL = E_AMSSENDER+7;
	public static final long E_AMSSENDER_ALM_ID_IS_NULL = E_AMSSENDER+8;
	public static final long E_AMSSENDER_ALM_SEND_TYPE_INVALIED = E_AMSSENDER+9;
	
	public static final long E_XPREWORK = 1002900;
	public static final long E_XPREWORK_INVALID_INPUT = E_XPREWORK + 1;
	public static final long E_XPREWORK_BOX_STATUS_INVALIED = E_XPREWORK + 2;

	public static final long E_XPSWITCH = 1002900;
	public static final long E_XPSWITCH_INVALID_INPUT = E_XPSWITCH + 1;

	public static final long E_XPAPLYDN = 1003000;
	public static final long E_XPAPLYDN_WO_ALREADY_BINDING = E_XPAPLYDN + 1;
	public static final long E_XPAPLYDN_DN_NOT_FOUND = E_XPAPLYDN + 2;
	public static final long E_XPAPLYDN_DN_WO_NOT_FOUND = E_XPAPLYDN + 3;
	public static final long E_XPAPLYDN_ERROR_SHIPPING_TIME = E_XPAPLYDN + 4;
	public static final long E_XPAPLYDN_OTHER_ERROR = E_XPAPLYDN + 5;

	public static final long E_XPSWHPTH = 1003100;
	public static final long E_XPSWHPTH_RECORD_ALREADY_EXIST = E_XPSWHPTH + 1;
	public static final long E_XPSWHPTH_NOT_FOUND_RECORD = E_XPSWHPTH + 2;
	public static final long E_XPSWHPTH_SWH_PATH_NOT_EXIST = E_XPSWHPTH + 3;
	public static final long E_XPSWHPTH_OUT_PATH_NOT_EXIST = E_XPSWHPTH + 4;
	public static final long E_XPSWHPTH_OTHER_ERR = E_XPSWHPTH + 99;

	public static final long E_XPBOXHLD = 1003200;
	public static final long E_XPBOXHLD_INVALID_INPUT = E_XPBOXHLD + 1;
	public static final long E_XPBOXHLD_INVALID_BOX_STATUS = E_XPBOXHLD + 2;
	public static final long E_XPBOXHLD_BOX_IS_EMPT = E_XPBOXHLD + 3;
	public static final long E_XPBOXHLD_INVALID_PRD_STATUS = E_XPBOXHLD + 4;

	public static final long E_XPPRDSCRP = 1003300;
	public static final long E_XPPRDSCRP_INVALID_INPUT = E_XPPRDSCRP + 1;
	public static final long E_XPPRDSCRP_INPUT_PRD_CNT_UNMATCH = E_XPPRDSCRP + 2;
	public static final long E_XPPRDSCRP_INVALID_BOX_STATUS = E_XPPRDSCRP + 3;
	public static final long E_XPPRDSCRP_BOX_IS_EMPT = E_XPPRDSCRP + 4;
	public static final long E_XPPRDSCRP_INVALID_PRD_STATUS = E_XPPRDSCRP + 5;
	public static final long E_XPPRDSCRP_INVALID_BOX_PRD_CNT = E_XPPRDSCRP + 6;
	public static final long E_XPPRDSCRP_BOX_NOT_EMPT = E_XPPRDSCRP + 7;
	public static final long E_XPPRDSCRP_WO_CNT_NOT_ENOUGH = E_XPPRDSCRP + 8;
	public static final long E_XPPRDSCRP_INVALIED_UNSCRP_CNT = E_XPPRDSCRP + 9;

	public static final long E_XPBOXCHG = 1003400;
	public static final long E_XPBOXCHG_INVALID_INPUT = E_XPBOXCHG + 1;
	public static final long E_XPBOXCHG_INVALID_OLD_BOX_STAT = E_XPBOXCHG + 2;
	public static final long E_XPBOXCHG_INVALID_NEW_BOX_STAT = E_XPBOXCHG + 3;
	public static final long E_XPBOXCHG_OLD_BOX_REAL_EMPT_CHK_NG = E_XPBOXCHG + 4;
	public static final long E_XPBOXCHG_NEW_BOX_REAL_EMPT_CHK_NG = E_XPBOXCHG + 5;
	public static final long E_XPBOXCHG_NO_PRD_IN_OLD_BOXG = E_XPBOXCHG + 6;
	public static final long E_XPBOXCHG_NO_PRD_IN_NEW_BOXG = E_XPBOXCHG + 7;
	public static final long E_XPBOXCHG_BOX_SLOT_CHK_FAILED = E_XPBOXCHG + 8;
	public static final long E_XPBOXCHG_NEW_BOX_ID_NULL = E_XPBOXCHG + 9;
	public static final long E_XPBOXCHG_OLD_BOX_ID_NULL = E_XPBOXCHG + 10;
	public static final long E_XPBOXCHG_INVALIED_BOX_STAT_WHEN_CHANGE_WO = E_XPBOXCHG + 11;
	public static final long E_XPBOXCHG_DIFF_BOX_ADMIN_FLG_WHEN_CHANGE_WO = E_XPBOXCHG + 12;

	public static final long E_XPUASGRP = 1003500;
	public static final long E_XPUASGRP_OTHER_ERROR = E_XPUASGRP + 1;
	public static final long E_XPUASGRP_ALREADY_EXIST = E_XPUASGRP + 2;
	public static final long E_XPUASGRP_NOT_FOUND_USER = E_XPUASGRP + 3;
	public static final long E_HPSHTHIS = 1003500;
	public static final long E_HPSHTHIS_INVALID_INPUT = E_HPSHTHIS + 1;

	public static final long E_XPCRTBOX = 1003600;
	public static final long E_XPCRTBOX_BOX_ALREADY_EXIST = E_XPCRTBOX + 1;
	public static final long E_XPCRTBOX_NOT_FOUND = E_XPCRTBOX + 2;

	public static final long E_XPBISDEPT = 1003700;
	public static final long E_XPBISDEPT_ALREADY_EXIST = E_XPBISDEPT + 1;
	public static final long E_XPBISDEPT_NOT_FOUND_DEPT = E_XPBISDEPT + 2;

	public static final long E_XPRWODPS = 1003800;
	public static final long E_XPRWODPS_ALREADY_EXIST = E_XPRWODPS + 1;
	public static final long E_XPRWODPS_NO_RECODER = E_XPRWODPS + 2;
	public static final long E_XPRWODPS_NOT_FOUND_WO = E_XPRWODPS + 3;
	public static final long E_XPRWODPS_CATE_ERROR = E_XPRWODPS + 4;
	public static final long E_XPRWODPS_INVALID_SUB_DPS = E_XPRWODPS + 5;
	public static final long E_XPRWODPS_INVALID_DPS_STAT = E_XPRWODPS + 6;
	public static final long E_XPRWODPS_INVALID_QTY = E_XPRWODPS + 7;
	public static final long E_XPRWODPS_INVALID_TIME = E_XPRWODPS + 8;
	public static final long E_XPRWODPS_OTHER_ERROR = E_XPRWODPS + 9;

	public static final long E_XPBISCUS = 1003900;
	public static final long E_XPBISCUS_INVALID_INPUT = E_XPBISCUS + 1;
	public static final long E_XPBISCUS_ALREADY_EXIST = E_XPBISCUS + 2;
	public static final long E_XPBISCUS_IS_NOT_FOUND = E_XPBISCUS + 3;
/./////////////////////////////////////////...............................................///
	public static final long E_XPSTARTPROC = 1004000;
	public static final long E_XPSTARTPROC_INVALID_INPUT = E_XPSTARTPROC + 1;
	public static final long E_XPSTARTPROC_INVALID_INPUT_NO_SHT = E_XPSTARTPROC + 2;
	public static final long E_XPSTARTPROC_ALREAD_START = E_XPSTARTPROC + 3;
	public static final long E_XPSTARTPROC_INVALID_STATUS = E_XPSTARTPROC + 4;
	public static final long E_XPSTARTPROC_ALREAD_IN_BOX = E_XPSTARTPROC + 5;
	public static final long E_XPSTARTPROC_INVALID_CNT = E_XPSTARTPROC + 6;

	public static final long E_XPCUTOPE = 1004100;
	public static final long E_XPCUTOPE_INVALID_INPUT = E_XPCUTOPE + 1;
	public static final long E_XPCUTOPE_CREATE_BOX_FAILED = E_XPCUTOPE + 2;
	public static final long E_XPCUTOPE_PANEL_MOVE_TO_BOX_FAILED = E_XPCUTOPE + 3;
	public static final long E_XPCUTOPE_BOX_MOVE_OUT_FAILED = E_XPCUTOPE + 4;
	public static final long E_XPCUTOPE_NEW_LOT_ID_INVALIED_B = E_XPCUTOPE + 5;
	public static final long E_XPCUTOPE_NEW_LOT_ID_INVALIED_P = E_XPCUTOPE + 6;
	public static final long E_XPCUTOPE_NEW_LOT_ID_INVALIED_L = E_XPCUTOPE + 7;
	public static final long E_XPCUTOPE_SAVE_DEFECT_FAILED = E_XPCUTOPE + 8;
	public static final long E_XPCUTOPE_BOX_NOT_REAL_EMPT = E_XPCUTOPE + 9;
	public static final long E_XPCUTOPE_PRD_QTY_SUM_UNMATCH = E_XPCUTOPE + 10;
	public static final long E_XPCUTOPE_PRD_STD_QTY_SUM_UNMATCH = E_XPCUTOPE + 11;
	public static final long E_XPCUTOPE_INPUT_PRD_CNT_INVALIED = E_XPCUTOPE + 12;
	public static final long E_XPCUTOPE_INPUT_PRD_LIST_INVALIED = E_XPCUTOPE + 13;

	public static final long E_XPQCOPE = 1004200;
	public static final long E_XPQCOPE_INVALID_INPUT = E_XPQCOPE + 1;
	public static final long E_XPQCOPE_INVALID_PRD_STATUS = E_XPQCOPE + 2;
	public static final long E_XPQCOPE_INVALID_LOT_WO_ID = E_XPQCOPE + 3;
	public static final long E_XPQCOPE_INVALID_LOT_ID = E_XPQCOPE + 4;

	public static final long E_XPLSTEQP = 1004300;
	public static final long E_XPLSTEQP_INVALID_INPUT = E_XPLSTEQP + 1;
	public static final long E_XPLSTEQP_READ_BIS_OPE_ERROR = E_XPLSTEQP + 2;

	public static final long E_XPPNLJGE = 1004400;
	public static final long E_XPPNLJDG_INVALID_INPUT = E_XPPNLJGE + 1;
	public static final long E_XPPNLJDG_ALREADY_EXIST = E_XPPNLJGE + 2;
	public static final long E_XPPNLJDG_PRD_SEQ_NOT_FOUND = E_XPPNLJGE + 3;

	public static final long E_XPWMSOPE = 1004500;
	public static final long E_XPWMSOPE_INVALID_INPUT = E_XPWMSOPE + 1;
	public static final long E_XPWMSOPE_FIND_NO_PANEL_BY_BOX = E_XPWMSOPE + 2;
	public static final long E_XPWMSOPE_DEST_SHOP_UNMATCH = E_XPWMSOPE + 3;
	public static final long E_XPWMSOPE_MTRL_PRD_ID_CHK_FAILED = E_XPWMSOPE + 4;
	public static final long E_XPWMSOPE_MTRL_PRD_SLOT_CHK_FAILED = E_XPWMSOPE + 5;
	public static final long E_XPWMSOPE_IN_WIP_BANK_SHIPPING_FLG_INVALIED = E_XPWMSOPE + 6;
	public static final long E_XPWMSOPE_PATH_WIP_BANK_FLG_IS_N = E_XPWMSOPE + 7;
	public static final long E_XPWMSOPE_WO_CNT_NOT_ENOUGH = E_XPWMSOPE + 8;
	public static final long E_XPWMSOPE_SHIP_NOTICE_HOLD = E_XPWMSOPE + 9;
	public static final long E_XPWMSOPE_SHIP_NOTICE_COMP = E_XPWMSOPE + 10;
	public static final long E_XPWMSOPE_SHIP_NOTICE_NOT_WAIT = E_XPWMSOPE + 11;
	public static final long E_XPWMSOPE_WIP_SEST_SHOP_ERROR = E_XPWMSOPE + 12;
	public static final long E_XPWMSOPE_WO_UNMATCH = E_XPWMSOPE + 13;
	public static final long E_XPWMSOPE_DN_NOT_ENOUGH = E_XPWMSOPE + 14;
	public static final long E_XPWMSOPE_INVALID_WO_MDL_CATE = E_XPWMSOPE + 15;
	public static final long E_XPWMSOPE_ADMIN_FLG = E_XPWMSOPE + 16;
	public static final long E_XPWMSOPE_SAME_DEST_SHOP = E_XPWMSOPE + 17;
	public static final long E_XPWMSOPE_SAME_WO = E_XPWMSOPE + 18;

	public static final long E_XPPMCHK = 1004600;
	public static final long E_XPPMCHK_INVALID_INPUT = E_XPPMCHK + 1;

	public static final long E_XPDEFECT = 1004700;
	public static final long E_XPDEFECT_INVALID_INPUT = E_XPDEFECT + 1;
	public static final long E_XPDEFECT_INVALID_PRD_STAT = E_XPDEFECT + 2;
	public static final long E_XPDEFECT_INVALID_PRD_ITEM = E_XPDEFECT + 3;
	public static final long E_XPDEFECT_INVALID_JUDGE_CNT = E_XPDEFECT + 4;
	public static final long E_XPDEFECT_PRD_HAS_BEEN_START_JUDGED = E_XPDEFECT + 5;

	public static final long E_XPINQLOT = 1004800;
	public static final long E_XPINQLOT_INVALID_INPUT = E_XPINQLOT + 1;
	public static final long E_XPINQLOT_NOT_FOUND_RECORDER = E_XPINQLOT + 2;
	public static final long E_XPINQLOT_OTHER_ERROR = E_XPINQLOT + 3;
	public static final long E_XPINQLOT_ERROR_TOOL_ID_OR_BAY_ID = E_XPINQLOT + 4;
	public static final long E_XPINQLOT_ERROR_LAYOT_CATE = E_XPINQLOT + 5;

	public static final long E_XPCRTNO = 1004900;
	public static final long E_XPCRTNO_INVALID_INPUT = E_XPCRTNO + 1;
	public static final long E_XPCRTNO_NOT_FOUND_RECORDER = E_XPCRTNO + 2;
	public static final long E_XPCRTNO_OTHER_ERROR = E_XPCRTNO + 3;
	public static final long E_XPCRTNO_MAX_SERIAL_NO = E_XPCRTNO + 4;

	public static final long E_XPINQWOR = 1005000;
	public static final long E_XPINQWOR_WO_NOT_BIND_SO = E_XPINQWOR + 1;

	public static final long E_MPWMSOPE = 1005100;
	public static final long E_MPWMSOPE_INVALID_STAT = E_MPWMSOPE + 1;
	public static final long E_MPWMSOPE_NOT_FOUND_PATH = E_MPWMSOPE + 2;
	public static final long E_MPWMSOPE_NOT_FOUND_START_OPE = E_MPWMSOPE + 3;
	public static final long E_MPWMSOPE_INVALID_QTY = E_MPWMSOPE + 4;

	public static final long E_XPSKIPOPE = 1005200;
	public static final long E_XPSKIPOPE_INPUT_ITEM_EMPT = E_XPSKIPOPE + 1;
	public static final long E_XPSKIPOPE_SKIP_TO_OPE_NOT_EXIST = E_XPSKIPOPE + 2;
	public static final long E_XPSKIPOPE_INVALIED_BNK_FLG = E_XPSKIPOPE + 3;
	public static final long E_XPSKIPOPE_INVALIED_LOT_ID = E_XPSKIPOPE + 4;
	public static final long E_XPSKIPOPE_INVALIED_ONE = E_XPSKIPOPE + 5;
	public static final long E_XPSKIPOPE_INVALIED_TWO = E_XPSKIPOPE + 6;
	public static final long E_XPSKIPOPE_INVALIED_NOT_EQUAL = E_XPSKIPOPE + 7;

	public static final long E_XPCNPNLOUT = 1005300;
	public static final long E_XPCNPNLOUT_INPUT_ITEM_EMPT = E_XPCNPNLOUT + 1;
	public static final long E_XPCNPNLOUT_INVALIED_PRD_STAT = E_XPCNPNLOUT + 2;
	public static final long E_XPCNPNLOUT_PRD_NOT_IN_BOX = E_XPCNPNLOUT + 3;
	public static final long E_XPCNPNLOUT_INVALID_BOX_STATUS = E_XPCNPNLOUT + 4;
	public static final long E_XPCNPNLOUT_BOX_INVALIED = E_XPCNPNLOUT + 5;
	public static final long E_XPCNPNLOUT_INVALIED_PRD_CNT = E_XPCNPNLOUT + 6;
	public static final long E_XPCNPNLOUT_INVALIED_BNK_FLG = E_XPCNPNLOUT + 7;
	public static final long E_XPCNPNLOUT_NOT_SAME_BOX = E_XPCNPNLOUT + 8;

	public static final long E_XPWIPBANKT = 1005400;
	public static final long E_XPWIPBANKT_INVALID_INPUT = E_XPWIPBANKT + 1;
	public static final long E_XPWIPBANKT_INVALIED_BOX = E_XPWIPBANKT + 2;
	public static final long E_XPWIPBANKT_INVALIED_BOX_STAT = E_XPWIPBANKT + 3;
	public static final long E_XPWIPBANKT_INVALIED_BOX_BNK_FLG = E_XPWIPBANKT + 4;

	public static final long E_XPWIPRETAIN = 1005500;
	public static final long E_XPWIPRETAIN_INVALID_INPUT = E_XPWIPRETAIN + 1;
	public static final long E_XPWIPRETAIN_INVALID_BOX_STATUS = E_XPWIPRETAIN + 2;
	public static final long E_XPWIPRETAIN_INVALID_REAL_EMP = E_XPWIPRETAIN + 3;
	public static final long E_XPWIPRETAIN_INVALID_VALID_FLG = E_XPWIPRETAIN + 4;
	public static final long E_XPWIPRETAIN_NO_PRD_IN_BOX = E_XPWIPRETAIN + 5;
	public static final long E_XPWIPRETAIN_INVALID_PRD_STATUS = E_XPWIPRETAIN + 6;
	public static final long E_XPWIPRETAIN_INVALID_BNK_FLG = E_XPWIPRETAIN + 7;
	public static final long E_XPWIPRETAIN_ALREADY_LOT = E_XPWIPRETAIN + 8;
	public static final long E_XPWIPRETAIN_NO_LOT = E_XPWIPRETAIN + 9;
	public static final long E_XPWIPRETAIN_WO_UNMATCH = E_XPWIPRETAIN + 10;

	public static final long E_XPINQDEF = 1005600;
	public static final long E_XPINQDEF_INVALID_INPUT = E_XPINQDEF + 1;
	public static final long E_XPINQDEF_INVALID_PROC_ID = E_XPINQDEF + 2;

	public static final long E_XPWOCHG = 1005700;
	public static final long E_XPWOCHG_INVALID_INPUT = E_XPWOCHG + 1;
	public static final long E_XPWOCHG_DIFF_BOX_ADMIN_FLG_WHEN_CHANGE_WO = E_XPWOCHG + 12;

	public static final long E_WO_DPS_DAO = 1005800;
	public static final long E_WO_DPS_DAO_P3_IS_NULL = E_WO_DPS_DAO + 1;
	public static final long E_WO_DPS_DAO_P2_IS_NULL = E_WO_DPS_DAO + 2;

	public static final long E_XPRMA = 1005900;
	public static final long E_XPRMA_INVALID_STATUS = E_XPRMA + 1;
	public static final long E_XPRMA_INVALID_WO_STATUS = E_XPRMA + 2;
	public static final long E_XPRMA_OVER_STD_CNT = E_XPRMA + 3;
	public static final long E_XPRMA_MDL_ID_NULL = E_XPRMA + 4;
	public static final long E_XPRMA_INVALID_WO = E_XPRMA + 5;
	public static final long E_XPRMA_SLOT_NO_EXIST = E_XPRMA + 6;
	public static final long E_XPRMA_PRD_SHTC_CUS_ID_NULL = E_XPRMA + 7;
	public static final long E_XPRMA_NVALID_CUS_ID = E_XPRMA + 8;
	public static final long E_XPRMA_NO_SO = E_XPRMA + 9;
	public static final long E_XPRMA_NVALID_MDL_ID = E_XPRMA + 10;
	public static final long E_XPRMA_MTRL_BOX_INVALIED = E_XPRMA + 11;
	public static final long E_XPRMA_MTRL_BOX_ALREADY_EMPT = E_XPRMA + 12;
	public static final long E_XPRMA_PRD_IN_NOT_ENOUGH = E_XPRMA + 13;
	*//**
	 * rwkpath(2500)
	 *//*
	public static final long E_XPRWKPATH = 1006000;
	public static final long E_XPRWKPATH_INVALID_BOX_STATUS = E_XPRWKPATH + 1;
	public static final long E_XPRWKPATH_INVALID_BOX_ID = E_XPRWKPATH + 2;
	public static final long E_XPRWKPATH_INVALID_PATH_ID = E_XPRWKPATH + 3;
	public static final long E_XPRWKPATH_RTN_OPE_ID = E_XPRWKPATH + 4;
	public static final long E_XPRWKPATH_PRD_EXIST = E_XPRWKPATH + 5;
	public static final long E_XPRWKPATH_NULL_PATH = E_XPRWKPATH + 6;
	public static final long E_XPRWKPATH_NULL_OPE = E_XPRWKPATH + 7;

	public static final long E_XPFBLNMX  = 1006100;
	public static final long E_XPFBLNMX_ALREADY_EXIST  = E_XPFBLNMX+1;
	public static final long E_XPFBLNMX_HAVE_STAND_FAB  = E_XPFBLNMX+2;
	public static final long E_XPFBLNMX_NO_SETTING_RULE  = E_XPFBLNMX+3;
	public static final long E_XPFBLNMX_HAVE_STAND_LINE  = E_XPFBLNMX+4;

	public static final long E_XPAMSSEND = 1006200;
	public static final long E_XPAMSSEND_INVALID_INPUT = E_XPAMSSEND + 1;
	public static final long E_XPAMSSEND_SEND_FAIL = E_XPAMSSEND + 2;
	public static final long E_XPAMSSEND_TO_ADDS_EMPT = E_XPAMSSEND + 3;*/
	
	/**
	 * 7. Event cate
	 */
	
	public static final String EVT_LGON = "LGON"; // 入账 Box Log on
	public static final String EVT_BOX_CANCEL_LGON = "BCLN"; // 入账 Box Log on Cancel
	public static final String EVT_PRD_CANCEL_LGON = "PCLN"; // 入账 Prd Log on Cancel
	public static final String EVT_LGOF = "LGOF"; // 卡匣/箱子出账   Box Log off
	public static final String EVT_PNL_UNPACK = "UPCK"; // 解封
	public static final String EVT_PNL_MOVE_OUT = "PMVT"; // 转入（面板转入箱子） Panel
	public static final String EVT_SHIP_NOTICE_ADD = "DNAD"; // 添加交货订单记录
	public static final String EVT_SHIP_NOTICE_UPDATE = "UPDN"; // 添加交货订单记录
	public static final String EVT_REGISTER_DENSEBOX = "RGDB"; // 登记来料箱Register Densebox
	public static final String EVT_DENSEBOX_GI = "DBGI"; // 来料箱领料   Densebox GI
	public static final String EVT_DENSEBOX_SCRAP = "DSRP"; //来料箱报废   Densebox Scrap
	public static final String EVT_DENSEBOX_RETURN_TO_CUS = "DRCS"; //来料箱退回   Densebox Return To Customer
	public static final String EVT_DENSEBOX_RETURN_TO_WH = "DRWH"; // 来料箱退仓   Densebox Return To WH
	public static final String EVT_REPAIR = "REPI"; // Repair修补
	public static final String EVT_REPAIR_CANCEL = "REPC"; // 取消手动修补 Repair Cancel
	public static final String EVT_REPAIR_FORCE = "FREP"; // 强制修补
	public static final String EVT_REPAIR_ABORT = "RPAB"; // Repair Abort
	public static final String EVT_REWORK = "RWKI"; // Rework 重工
	public static final String EVT_REWORK_CANCEL = "REWC"; // 取消重工 Repair Cancel
	public static final String EVT_REWORK_FORCE = "FRWR"; // 强制重工
	public static final String EVT_REWORK_ABORT = "REAB"; // Rework Abort
	public static final String EVT_OQC = "ROQC"; // OQC
	public static final String EVT_OQC_CANCEL = "ROWC"; // 取消OQC OQC Cancel
	public static final String EVT_OQC_FORCE = "FOWR"; // 强制OQC
	public static final String EVT_OQC_ABORT = "ROAB"; // OQC Abort
	public static final String EVT_UPDATEGRADE = "UPGD"; // 更改等级
	public static final String EVT_SORT = "SORT"; // Sort
	public static final String EVT_SORT_CANCEL = "SRTC"; // Sort Cancel
	public static final String EVT_PULL = "PULL"; // 手动从机台取出玻璃
	public static final String EVT_PUSH = "PUSH"; // 手动将玻璃放入机台
	public static final String EVT_RETURN_OPERATION = "RTOP"; // 从一个工艺路线回到另一个工艺路线
	
	public static final String EVT_BOX_CHANGE = "BXCG";// 两个卡匣交换slot no
	public static final String EVT_SLOT_NO_CHANGE = "SLCG"; // 同一个卡匣交换slot no
	public static final String EVT_PRD_SCRP = "SCRP"; // 玻璃报废  Prod Scrap
	public static final String EVT_PRD_SCRAP_CANCEL = "SRPC"; // 玻璃取消报废 Prod Scrap Cancel
	public static final String EVT_CLEAN_REQUEST = "CLNR"; // 卡匣清洁请求 Clean Request
	public static final String EVT_CANCEL_CLEAN_REQUEST = "CCLN"; // 取消清洁请求 Cancel Clean Request
	public static final String EVT_EMPTY_REQUEST = "EMPR"; // 空请求 Empty Request
	public static final String EVT_CST_REMARK = "CRMK"; // 卡匣备注  Carrier Remark
	public static final String EVT_HOLD_CST = "HLDC"; // 保留卡匣  Hold Carrier
	public static final String EVT_HOLD_RELEASE = "HLDR"; // 释放卡匣 Release Hold
	public static final String EVT_SKIP_OPERATION = "SKIP"; // 跳站  Skip Opeartion
	public static final String EVT_WIP_BANK_IN = "WBKI"; // 进入在制仓 Wip Bank In
	public static final String EVT_WIP_BANK_OUT = "WBKO"; // 转出在制仓 Wip Bank Out
	public static final String EVT_FUTURE_HOLD = "FHLD"; // 预约保留   Future Hold
	public static final String EVT_FUTURE_SKIP_OPERATION = "FSKP"; // 预约跳站  Future Skip Operation
	public static final String EVT_PROD_GRADE_CHANGE = "PGCG"; // 更改玻璃等级   Change Prod Grade
	public static final String EVT_WO_CHANGE = "WOCG"; // 更改工单号
	
	public static final String EVT_TOOL_STATE_CHANGE = "TSCG"; //设备状态变更  Tool State Change
	public static final String EVT_TOOL_PORT_STATE_CHANGE = "PSCG"; //设备端口状态变更  Tool Port State Change
	public static final String EVT_TOOL_LOCK = "TLCK"; //  设备锁定     Tool Lock
	public static final String EVT_TOOL_LOCK_RELEASE = "TLKR"; //  设备解锁     Tool Lock Release
	public static final String EVT_TOOL_HOLD = "THLD"; // 设备保留    Tool Hold
	public static final String EVT_TOOL_HOLD_RELEASE = "THLR"; //  设备释放     Tool Hold Release

	
	public static final String EVT_WHIN = "WHIN"; // 入库 Whouse in
	public static final String EVT_WHOUT = "WHOT"; // 出货 Whouse out
	public static final String EVT_STB_INPR = "STBI"; // 提配 Panel unpack
	public static final String EVT_WH_RETURN = "WHRT"; // WH Return to line
	public static final String EVT_MASK_MOUNT= "MMNT"; //光罩mount
	public static final String EVT_MASK_UNMOUNT = "MUMT"; //光罩unmount
	public static final String EVT_WHCG = "DSCG"; // 转仓 Dest Shop change
	public static final String EVT_PALLET_SPLIT = "PTSP"; // 拆栈板
	public static final String EVT_PALLET_MERGE = "PTMG"; // 合并栈板
	
	
	public static final String EVT_BIND_SO = "BDSO"; //绑定客户订单
	public static final String EVT_BIND_WO = "BDWO"; //绑定内部订单
	public static final String EVT_PRTY_CHANGE = "PRCG"; //更改工单优先级

	public static final String EVT_FTPTOLRELA_ADD="READ";//新增机台关系
	public static final String EVT_FTPTOLRELA_UPDATE="REUP";//新增机台关系

	public static final String EVT_BOX_BUILD = "BXBL"; //生成箱号 box build
	
	
	//RTD EVT_CATE
	public static final String EVT_REPORT_INVENTORY = "REPI"; //MEC->MES上报库存
	public static final String EVT_REQUST_INVENTORY = "REQI"; //MES->MCS请求库存
	public static final String EVT_UPDATE_POSITION = "UPOS"; //MCS卡匣位置信息变更
	public static final String EVT_CLM_START = "CSTA"; //搬送开始信息上报
	public static final String EVT_CLM_XFER = "XFER"; //指令发送
	public static final String EVT_CANCEL_CLM_XFER = "CXFR"; //取消指令发送
	public static final String EVT_GARBAGE_CLEAN_UP = "GBGC"; //garbage clean up
	public static final String EVT_CLM_IQSI = "IQSI"; //MGV请求入库

	//lr evt_cate
	public static final String EVT_LR_PICK = "LRPK";//wh光阻领料
	public static final String EVT_LR_RETURN_WH = "RTWH"; // wh光阻退仓
	public static final String EVT_LR_SCRAP = "LRSP"; // wh光阻退仓
	public static final String EVT_LR_CHANGE_STAT = "CGST";//改变光阻状态&位置
	public static final String EVT_LR_MERGE = "MERG";//光阻并桶
	public static final String EVT_LR_OFF = "MOFF"; //光阻销账
	public static final String EVT_LR_HOLD = "LRHD"; //光阻HOLD
	public static final String EVT_LR_UNHOLD = "LRUH"; //光阻解HOLD
	public static final String EVT_LR_ADD_MTRL = "ADDM"; //光阻放入冰柜
	
	//uas evt_cate
	public static final String EVT_UAS_ADD 	 = "AUSR";//新增用户
	public static final String EVT_UAS_UPDATE = "UPUR";//修改用户信息
	public static final String EVT_UAS_DELETE = "DEUR";//删除用户信息
	
	/**
	 * 8. Basic check error
	 */
	public static final long PATH_TYPE_INVALID = 0000100;
	public static final long INVALIED_BOX_STAT = 0000200;
	public static final long INVALIED_SHT_STAT = 0000300;
	public static final long INVALIED_SHT_CNT = 0000400;
	public static final long PATH_IS_FINISH = 0000500;
	public static final long SLOT_NO_DUPLICATE = 0000600;
	public static final long SLOT_NO_INVALIED = 0000700;
	public static final long SHT_MDL_CATE_MIX = 800;
	public static final long SHT_MDL_ID_MIX = 900;
	public static final long SHT_MDL_TYPE_MIX = 1000;
	public static final long SHT_PATH_ID_MIX = 1100;
	public static final long SHT_PATH_VER_MIX = 1200;
	public static final long SHT_OPE_ID_MIX = 1300;
	public static final long SHT_OPE_NO_MIX = 1400;
	public static final long SHT_OPE_VER_MIX = 1500;
	public static final long SHT_NX_TOOLG_MIX = 1600;
	public static final long SHT_WO_ID_MIX = 1700;
	public static final long SHT_STAT_MIX = 1800;
	public static final long SHT_NX_PROC_ID_MIX = 1900;
	public static final long SHT_LOT_ID_MIX = 2000;
	public static final long SHT_BNK_FLG_MIX = 2100;
	public static final long SHT_CR_PROC_ID_MIX = 2200;
	public static final long MTRL_PRD_SLOT_CHK_FAILED = 2300;
	public static final long MTRL_PRD_ID_CHK_FAILED = 2400;
	public static final long BOX_INVALIED = 2500;
	public static final long PRD_QTY_NOT_ENOUGH = 2600;
	public static final long INVALIED_SPACE_INPUT = 2700;
	public static final long SHT_LOT_NULL = 2800;
	public static final long BOX_CNT_NOT_ENOUGT = 2900;
	public static final long GROUP_ID_MIX = 3000;
	public static final long PRD_GRADE_MIX = 3100;
	public static final long SHT_MTRL_SLOT_NO_FK_SAME = 3200;
	public static final long SHT_NX_TOOL_RUN_MODE_MIX = 1300;
	public static final long PATH_IS_NOT_FOUND = 3300;
	public static final long SHT_PF_COUNT_MIX = 3400;	
	/**
	 * 9. SPC COM DEFINE
	 */
	public static final String SPC_CHART_TYPE_SINGLE = "10";
	public static final String SPC_CHART_TYPE_MOVING_RANGE = "11";
	public static final String SPC_CHART_TYPE_MEAN = "01";
	public static final String SPC_CHART_TYPE_RANGE = "02";
	public static final String SPC_CHART_TYPE_SIGMA = "03";
	public static final String SPC_CHART_TYPE_UNIFM = "04";
	public static final String SPC_CHART_TYPE_COUNT = "20"; // liufang
	public static final String SPC_CHART_TYPE_MEDIAN = "30"; // liufang add median chart
	public static final String SPC_CHART_TYPE_MRANGE = "31"; // liufang add median chart
	public static final String SPC_CHART_TYPE_P = "40"; // liufang add P chart
	public static final String SPC_CHART_TYPE_NP = "50"; // liufang add NP chart
	public static final String SPC_CHART_TYPE_C = "60"; // liufang add C chart

	public static final String STRING_SERIAL_TYPE_SO = "S";
	public static final String STRING_SERIAL_TYPE_WO = "W";
	public static final String STRING_SERIAL_TYPE_BOX = "B";
	public static final String STRING_SERIAL_TYPE_LOT = "L";
	public static final char CHAR_SERIAL_TYPE_SO = 'S';
	public static final char CHAR_SERIAL_TYPE_WO = 'W';
	/**
	 * SPC Define
	 */
	public static final String CHART_TYP_MEAN = "01";
	public static final String CHART_TYP_SINGLE ="10";
	public static final String CHART_TYP_COUNT ="20";
	public static final String CHART_TYP_MEDIAN="30";
	public static final String CHART_TYP_RANGE = "02";
	public static final String CHART_TYP_SIGMA="03";
	public static final String CHART_TYP_MOVING_RANGE="11";
	
	/**
	 * RTD Define
	 */
	public static final String RTD_XFR_CMD_FLG_STI="0"; //Stocker In
	public static final String RTD_XFR_CMD_FLG_STO="1"; //Stocker Out
	public static final String RTD_XFR_CMD_FLG_SXS="3"; //Transfer Inter Bay
	public static final String RTD_XFR_CMD_FLG_TXT="4"; //Transfer Intra Bay
	public static final String RTD_XFR_CMD_FLG_TON="5"; //On Equipment
	public static final String RTD_XFR_CMD_FLG_ERR="9"; //Abnormal Status
	
	public static final String RTD_PULL_ZONE="101";//pull(Directory) zone
	public static final String RTD_PUSH_ZONE="102";//push(Preparation) zone
	public static final String RTD_STKI_ZONE="103";//Stocker In Zone
	
    public static final String RTD_MLCS_ALTERNATE="A";
    public static final String RTD_MLCS_CANCEL="C";
    public static final String RTD_MLCS_FINAL_POSITION="F";
    public static final String RTD_MLCS_INTERMEDIATE="I";
    
    public static final String RTD_TSC_CCARRIER_DELETE="9123";
    public static final String RTD_TSC_CCARRIER_ADD="9124";
    
    public static final String RTD_AMHS_MGV_PORT = "STC_PORT";
    public static final String RTD_AMHS_EQP_PORT = "EQP_PORT";
    public static final String RTD_AMHS_SHELF = "SHELVES";
    
    public static final String RTD_XFR_STAT_ON="ON";
    public static final String RTD_XFR_STAT_OFF="OF";
    
    public static final String RTD_EQPT_STAT_CLAME="T";
    public static final String RTD_PORT_STAT_CLAME="P";
    
    public static final String RTD_STOCKER_PORT_MGV = "M"; //Stocker MGV Port
    public static final String RTD_STOCKER_PORT_AGV = "A"; //Stocker AGV Port
    public static final String RTD_STOCKER_PORT_CMN = "C"; //Stocker COMMON Port

    public static final String RTD_AGV_ON = "A";
    public static final String RTD_AGV_OFF = "M";
    
    public static final long RTD_XFERSTAT_NORMAL = 0; //Request Normal Complete
    public static final long RTD_XFERSTAT_CANCEL = -1; //Request Cancel
    public static final long RTD_XFERSTAT_RETRY = -2; //Request Error Retry
    
    public static final String RTD_LU_MODE_LOAD = "L";//Action Mode Load
    public static final String RTD_LU_MODE_UNLD = "U";//Action Mode UnLoad
    
    public static final String RTD_CRRNXT_LOADREQ = "LOADREQ"; // Load Rquest
    public static final String RTD_CRRNXT_PUSHXFR = "PUSHXFR"; // Push Transfer
    
    public static final String RTD_LOCA_EXIST_DIRECT = "1"; //Direct Transfer
    public static final String RTD_LOCA_EXIST_SUPSTK = "2"; //Intrabay Transfer
    public static final String RTD_LOCA_NOTIN_SUPSTK = "3"; //Interbay Transfer
    public static final String RTD_LOCA_NOTIN_DIRECT = "4"; //Unmatch XferID
    
    public static final long RTD_RETURN_IMMEDIATELY = 1; 
    
    public static final String RTD_RULE_FC_LIST = "LIST";
    public static final String RTD_RULE_FC_MASK = "MASK";
    public static final String RTD_RULE_FC_SORT = "SORT";
    
    public static final Integer RTD_CRRNXT_MASK_NORMAL = 0; //OK
    public static final Integer RTD_CRRNXT_INVALID_BOX_STATUS = 11; //卡匣状态不正确
    public static final Integer RTD_CRRNXT_MASK_FROM_PORT_NOT_UDRQ = 12;// From Port status is not UDRQ
    public static final Integer RTD_CRRNXT_MASK_FROM_PORT_INVAILD_RTD_FLAG = 13; //RTD flag is not "A"
    public static final Integer RTD_CRRNXT_MASK_INVAILD_ACTIVE_FLAG = 14; //Port Active Flag is not "Y"
    public static final Integer RTD_CRRNXT_MASK_XFER_STATUS_NOT_OFF = 15; //Xfer status must be "OFF"
    public static final Integer RTD_CRRNXT_MASK_INVALID_BOX_VALID_FLAG = 16; //Valid Flag must be "Y"
}
